You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Voytenko, Dimitry" <DV...@SECTORBASE.COM> on 2000/11/14 20:28:44 UTC
node-set variables
Hi,
this is code that works for Xalan J1 and gives wrong results for Xalan J2
(now I have today's build of Xalan J2).
In this code I use variable to point to node-set and then go through this
nodeset.
Xalan J1 outputs (first digit for function posistion() call, second - for
last()):
<?xml version="1.0" encoding="UTF-8"?>
<BODY>
<H1>1 - 2</H1>
<H1>2 - 2</H1>
</BODY>
Xalan J2:
<?xml version="1.0" encoding="UTF-8"?>
<BODY>
<H1>1 - 0</H1>
</BODY>
<<last_pos.xsl>> <<simple.xml>>
Thank you
Dmitry E. Voytenko