[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

Subject: Re: Advise on xsl usage producing very complex html
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 31 Jan 2001 13:48:11 GMT
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.