L
Loudin
Hello,
I`ve got Problems with Xpath and xsltproc/libxslt.
I have got a variable with tags in my Style sheet and later in the same
Style sheet i want to work with this tags using a <xsl:for-each>. Here is a
example:
<xsl:variable name="posinfo">
<pos tagname="dummy1" postypes="123"/>
<pos tagname="dummy2" postypes="456"/>
<pos tagname="dummy3" postypes="789"/>
</xsl:variable>
<xsl:for-each select="$posinfo/pos">
<POS>...</POS>
</xsl:for-each>
I am using saxon and with saxon the for-each works correctly. But I want to
change to xsltproc, because it ist faster. But with xsltproc I am getting
the message: "XPath error : Invalide type". Does somebody know, how i can
fix this error?
thanks for your attention.
with kind regards,
Loudin
I`ve got Problems with Xpath and xsltproc/libxslt.
I have got a variable with tags in my Style sheet and later in the same
Style sheet i want to work with this tags using a <xsl:for-each>. Here is a
example:
<xsl:variable name="posinfo">
<pos tagname="dummy1" postypes="123"/>
<pos tagname="dummy2" postypes="456"/>
<pos tagname="dummy3" postypes="789"/>
</xsl:variable>
<xsl:for-each select="$posinfo/pos">
<POS>...</POS>
</xsl:for-each>
I am using saxon and with saxon the for-each works correctly. But I want to
change to xsltproc, because it ist faster. But with xsltproc I am getting
the message: "XPath error : Invalide type". Does somebody know, how i can
fix this error?
thanks for your attention.
with kind regards,
Loudin