[xsl] merging xml documents

Subject: [xsl] merging xml documents
From: "Pollington, Lee (ELSLON)" <lee.pollington@xxxxxxxxxxxxx>
Date: Wed, 31 Jan 2001 14:37:46 -0000
Well Oliver did. 
You know what abstraction is?
If you take a look at Oliver's merge.xslt, you'll see it's a little more
complicated than the document() function.

Are you the administrator for this list or something? 

 -----Original Message-----
 From: David Carlisle [mailto:davidc@xxxxxxxxx]
 Sent: 31 January 2001 13:48
 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
 Subject: Re: [xsl] Advise on xsl usage producing very complex html
 > Can I merge document trees in XSLT 
 yes. See the document() function.
 > (or some other way).
 yes there are other ways too (but this list is for xsl)
 >  the first
 > contains a, b the second a,b,c, the result should be a,b,c 
 not aa,bb,c
 If you gave a real example of two (small) documents which had some
 elements in them and an example of what you want to come out, someone
 might be able to help. In particular what do you mean to say two
 documents "contain a" this could mean any of, for example:
 the documents have elements with the same id? the same name? 
 the same content?
 Given that an XML document is a tree, not a list of letters as in your
 example, _how_ do you want to merge them, where do you want to 
 graft the
 two together, and when removing duplicates which duplicate do 
 you want to
 remove. No one can suggest how to program your algorithm in XSLT if you
 don't say what the thing is supposed to do.
  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread