[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: collect elements into variable and apply-template
<xsl:variable name="a"> <xsl:for-each select="xxx/*"> <xsl:copy-of select="."/> </xsl:for-each> </xsl:variable> don't do that, do this <xsl:variable name="a" select="xxx/*"> It's a lot less typing and it will make the use of teh variable in an Xpath legal. David -- http://www.dcarlisle.demon.co.uk/matthew 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
|