[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Function within an expression
yes, and yes.
It should be possible to do like your example (I think :) but it's definitively possible to create a "local" variable related to current node: <xsl:for-each select="$lines"> <xsl:variable name="type" select="substring(., 1, 3)"/> <record> <xsl:apply-templates select="$field_definitions/*[@type = $type]"/> ... </record/> </xsl:for-each> -- Raffaele On Jan 5, 2005, at 10:10 AM, Jim Neff wrote: Is it possible to do a function inside of an expression?
|
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
|