[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] problem with simple XPath expression
I'm calling a template that matches an XML element that in turn contains: <org_list> <org_code type="APPR">ANSI</org_code> </org_list> But this XSLT instruction isn't generating the desired asterisk in my output: <xsl:if test="org_list/org_code[@type='APPR' and text()='ANSI']"> <xsl:text>*</xsl:text> </xsl:if> 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? Thanks, -- Kevin Rodgers
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|