[xsl] merge two xml

Subject: [xsl] merge two xml
From: Andrey Solonchuk <solo@xxxxxxxxxxxxxx>
Date: Thu, 2 Jan 2003 18:37:22 +0200
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@xxxxxxxxxxxxxx



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


Current Thread