xsl-list
[Top] [All Lists]

Get value from update.xml and stored in source.xml(update source.xml)

2004-09-08 01:39:52
Hi All,

I have source.xml:

<?xml version="1.0" encoding="UTF-8"?>
<test>
<chapter>
<test1 id="0000001">
        <test2></test2>
</test1>
</chapter>
</test>

And update.xml contains:

<?xml version="1.0" encoding="UTF-8"?>
<beta>
<test1 id="0000001">
        <test2>ABCD</test2>
</test1>
</beta>

Using xslt 1.0 I have to extract the value of <test2> which is in <test1
id="0000001"> of update.xml and put it in <test2> which is in <test1
id="0000001"> of source.xml.

This should updates the <test2> of source.xml without any other changes.


Can anyone help me out.

Thanks,
Shailesh 



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--