xsl-list
[Top] [All Lists]

merge two xml

2003-01-02 09:37:22
HI
   I try merge two files (simply look like include in C++ )
   to create mapping.xml only with block I realy need

== large mapping ==
  <mapping>
    <class name="a">
       <field name=...>
       <field name=...>
    </class>
    <class name="b">
       <field name=...>
       <field name=...>
    </class>
    <class name="c">
       <field name=...>
       <field name=...>
    </class>
  <mapping>

  and file wich pointed what nodes I need
  <include>
    <class name="c">
  <include>

  And I want result file to be
<mapping>
    <class name="c">
       <field name=...>
        ...
    </class>
<mapping>
  
How to do this , I didnt understood

Thanks
-- 
Best regards,
 Andrey                          mailto:solo(_at_)ibis(_dot_)odessa(_dot_)ua



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>