RE: [xsl] <xsl:copy-of>

Subject: RE: [xsl] <xsl:copy-of>
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 11 Jan 2001 10:30:15 -0000
> 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


Current Thread