Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XPath error with xsltproc/libxslt

From: "Loudin" <patrick.loudin@-------.--->
To: NULL
Date: 7/1/2005 11:12:00 AM
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




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent