[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] problem with simple XPath expression

Subject: [xsl] problem with simple XPath expression
From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
Date: Wed, 19 Jan 2005 18:03:11 -0700

I'm calling a template that matches an XML element that in turn

<org_code type="APPR">ANSI</org_code>

But this XSLT instruction isn't generating the desired asterisk in my

<xsl:if test="org_list/org_code[@type='APPR' and text()='ANSI']">

Could this be an incompatibility between XSLT/Xpath 1.0 and 2.0?  I seem
to remember it working with Xalan 2.6, but it's definitely not working
with Saxon 8.2.  What am I missing here?

Kevin Rodgers

Current Thread