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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] <xsl:copy-of>, David Carlisle | Thread | [xsl] XALAN: exceptions from extens, McNeill, Keith D. |
RE: [xsl] RE: xslt and bitwise oper, Kay Michael | Date | Re: [xsl] XSL FO - DTD, Arved Sandstrom |
Month |