[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPath question
I'm having trouble coming up with a parameterized XPath expression I need. First I set a variable (keyName) and then use the variable within the XPath. This doesn't work. Any suggestion?? Thanks! <xsl:variable name="keyName"><xsl:value-of select="substring-after(../../ViewKey, ';')"/></xsl:variable> <xsl:apply-templates select="//appInfo[ViewName='viewName' and ViewKey=$keyName]/Structure[@StructId='VFM']/Row[@DEPEND='001']" > If I use an explicit string in place of $keyName, it works. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|