|
Subject: Re: [xsl] collect elements into variable and apply-templates From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 19 Feb 2004 20:54:36 GMT |
<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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] collect elements into va, G. Ken Holman | Thread | RE: [xsl] collect elements into va, cknell |
| Re: [xsl] Re: Counting nodes effici, Wendell Piez | Date | [xsl] Selecting and printing certai, Glenn MacGregor |
| Month |