[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] combining multiple data sources
You could compose the data sources like this: <composition> <Source1ML> <ADDRESS id="100"> <STREETNUM>123</STREETNUM> <STREETNAME>Main St.</STREETNAME> </ADDRESS> </Source1ML> <Source2ML> <CUSTOMER id="100"> <FIRSTNAME>John</FIRSTNAME> <MIDDLENAME>Q.</MIDDLENAME> <LASTNAME>Doe</LASTNAME> </CUSTOMER> </Source2ML> <Source3ML> <PHONENUMBER> <NPA>555</NPA> <NXX>555</NXX> <XXXX>1234</XXXX> </PHONENUMBER> </Source3ML> </composition> You must write a copy program for that composition. The IBM xml-parser has serveral clone methods, but these won't do the job completely because you have to adjust the owner-document for each node. Regards Oliver Bruening XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|