xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Smirnov" <vic...@uwc.ru>
Subject How to use position() ?
Date Tue, 28 Mar 2000 05:55:26 GMT
Hello all!

It seems to me that the following construction should put the position of
the blk_item in the list of all selected blk_item nodes. May be i am wrong ?

<xsl:template match="blk_item">
   <xsl:apply-templates select="position()"/>.
   <xsl:apply-templates select="blk"/>
   <xsl:apply-templates select="cnt"/>

But it produces the error:

XSL Error: SAX Exception
org.apache.xalan.xslt.XSLProcessorException: Can not convert #UNKNOWN to a

May be there is some other way of doing this ?

Thank you in advance
- Victor

p.s. I use Xalan 0.20.0
Any additional information?

View raw message