combining multiple data sources

Subject: combining multiple data sources
From: oliver.bruening@xxxxxxxxxxx
Date: Fri, 10 Dec 1999 10:11:10 +0100

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


Current Thread