|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Outer Loop and Inner Loop
> > <xsl:value-of select="[@ = '$some_variable']"/> > > > > Does that work? > > > > It would be faster to try it than to ask. In this case, what > you want is > > <xsl:value-of select="[@ = $some_variable]"/> > > (assuming, of course, that the variable really evaluates to > the string that you want). > > Cheers, > > Tom P > You're having an off day, Tom. You've only corrected one of his four errors. The other three are: * You can't use a predicate (an expression in square brackets) on its own * @ needs to be followed by a NodeTest * "=" always does a comparison of the value of a node, not its name or its identity. Michael Kay 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
|

Cart








