[xsl] Re: Sorting and Merge

Subject: [xsl] Re: Sorting and Merge
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 17 Nov 2003 22:02:20 +0100
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