Bug #1247
closedSort problems
0%
Description
SourceForge user: jriegg1
I'm very convinced about your xslt-processor, and use it
very often.
Now I've a problem, may be I'm wrong, may be it's a fault
in your processor.
I' ve added this mail an extraction of a styleshhet which
proceses xml-documents from the BMEcat-
specification. (www.bmecat.org)
The problem is:
In a for-each loop, which processes an temporary result
tree from a variable, the sorting of nodes in an inner loop
which refers to nodes in the document, doesn't function.
May be because the relative path in the inner loop is
bound to the variable, not to the document. This is a bit
strange, because the collection of nodes for the inner
loop wich refers to $root is built correctly, the parameter
Artikel with "." is also taken correctly from the current
node list with document nodes, but the sort, which
refers also to "." is obviously not taken from the current
node list from the choosen document nodes. The inner
sort doesn't function. The syntax of the sort-element is
correct, because in the otherwise branch, which loops
directly over nodes from the document, the sort
functions correctly.
In detail, see also the added stylesheet.
Am I wrong, can you help me?
Sincerely
Jochen Riegg
Professional Services
e-pro solutions GmbH
Waldburgstraße 21
70563 Stuttgart
Fon: +49 (0)711 / 687042 53
Fax: +49 (0)711 / 687042 20
Files
Updated by Anonymous over 22 years ago
SourceForge user: mhkay
Logged In: YES
user_id=251681
Error in user's stylesheet. The for-each that is supposedly not
sorting is only processing one node on each iteration.
Please don't raise suspected bugs using this tracker!
Please register to edit this issue