This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: <xsl:copy-of>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] <xsl:copy-of>
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 11 Jan 2001 10:30:15 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I would like to replace this with:
>
> <xsl:choose>
> <xsl:when condition>
> do something...
> </xsl:when>
> <xsl:copy-of select="$paste"/>
> </xsl:choose>
>
> where $paste is retrieved from:
> <xsl:variable name="paste">
> <xsl:otherwise>
> print something
> </xsl:otherwise>
> </xsl:variable>
>
> The only reason I want to do this, is to condense my stylesheet.
Well, your syntax is invalid, and I for one can't guess at what you think it
would mean if it were allowed, so it's difficult to suggest how you should
write your code correctly.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list