[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: XSL macros stronger then XSLT


Subject: RE: XSL macros stronger then XSLT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 29 Apr 1999 14:24:59 +0100

> I've started converting my XSL stylesheets to XSLT and encountered the
> following problem. It seems as though <xsl:macro> can not be 
> (in general)
> converted to a named template. The missing feature is an equivalent to
> <xsl:contents/>. [...]

> What's worse, I don't see any way to work around this 
> limitation in the XSLT
> draft. I started considering alternatives as to how to re-provide this
> feature: [...]
>  
> 2. Advance: allow variables to have a node-set/node-list 
> value instead of
> just a string value. This has far-reaching consequences.
>
 
But they can! 

Have you tried <xsl:variable name="thing"><xsl:copy-of .../></xsl:variable>

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords