in reply to Re^2: xml::xslt xpath bug?
in thread xml::xslt xpath bug?

Yes, I used the download link.

Replies are listed 'Best First'.
Re^4: xml::xslt xpath bug?
by Anonymous Monk on Jul 07, 2009 at 15:06 UTC
    I've found I get different results with xsl:for-each. Would you try the following which uses xsl:for-each instead of xsl:if?
    <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Tr +ansform"> <xsl:template match="/"> <xsl:for-each select="/PLMXML/Form[@id=id24]"> <xsl:value-of select="@id"/> </xsl:for-each> </xsl:template> </xsl:stylesheet>
    This xslt returns id36 for me.
      Still does nothing. Are you sure you copy/paste right?