Re: collect elements into variable and apply-templates2004-02-19 13:54:36<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
|
|