xsl-list
[Top] [All Lists]

[xsl] merge/join two xml files.

2006-11-27 13:56:09
(Sorry if this quiestion have been asked before, cause
I just joined this group 5 minutes ago. ) 

I have two files, A.xml and B.xml. Both files have the
same root. 
File A might or might not have node X(and its sub
elements).
File B will always have node X(and its sub elements).

If File A does not contain node X, XSLT should get it
from file B and insert it in File A under the defined
location.
 
If File A contains node X (the location is known), 
XSLT should still get it from file B and replace the
one existed in File A.

Does someone know how to make it happen by XSLT ? 


Thanks a lot !


Chun 




 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com

--~------------------------------------------------------------------
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>
--~--