[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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. David 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
|