[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Sorting and Merge

Subject: Re: Sorting and Merge
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 17 Nov 2003 22:02:20 +0100
document sort
I wrote:
> This can be done much easier if you transform the original document and
use
> the "messed" result of the searches as criteria which nodes from the
> original document should be copied.
>
> Something like this:

[snip]

> When the above transformation is performed on this source.xml (the
original
> xml document appended with the search results):

Of course, it is not necessary to append the search results to the original
document -- I used this because I am lazy to create and work with a second
file.

In the real solution it would be probably more convenient/efficient to
reference the search result using the document() function or (better) to
pass them as a parameter to the transformation. The transformation will
remain essentially the same.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




 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.