This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Merging XML Files
- From: "Sachidanandam E K" <sachidanandam dot kumaraswamy at kla-tencor dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 23 Jul 2002 16:13:57 +0530
- Subject: RE: [xsl] Merging XML Files
- Reply-to: xsl-list at lists dot mulberrytech dot com
I think you can take a look at
http://www.jenitennison.com/xslt/merging-docs.html
this will give some basic idea.
Sachidanandam.E.K
Member Techinical Staff
HCLT KT-ODC
sachidanandam.kumaraswamy@kla-tencor.com
<mailto:sachidanandam.kumaraswamy@kla-tencor.com>
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of alexandre
bord
Sent: Tuesday, July 23, 2002 3:26 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] Merging XML Files
Hi !
Suppose I have 2 XML files. Their schema is almost the same. For example :
XML 1:
<container>
<grid name="ttt" number="1">
<attribute type="int" order="1" name="foo" required="true"/>
<attribute type="int" order="3" name="bar" required="false"/>
<attribute type="text" order="2" name="foobar" required="true"/>
</grid>
<grid name="ddd" number="2">
<attribute type="int" order="1" name="foo" required="true"/>
<attribute type="int" order="3" name="bar" required="false"/>
<attribute type="text" order="2" name="barfoo" required="true"/>
</grid>
</container>
XML 2 : (less attributes)
<container>
<grid name="ttt" number="1">
<attribute type="int" order="1" name="foo" />
<attribute type="int" order="3" name="bar" />
<attribute type="text" order="2" name="foobar" />
</grid>
<grid name="ddd" number="2">
<attribute type="int" order="1" name="foo" />
<attribute type="int" order="2" name="bar" />
<attribute type="text" order="3" name="barfoo" />
</grid>
</container>
* How could i update XML file #1 whith values from XML file #2, in a
simple manner ?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list