This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL special chars output prob.
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 11 Jun 2002 18:06:07 -0600 (MDT)
- Subject: Re: [xsl] XSL special chars output prob.
- Reply-to: xsl-list at lists dot mulberrytech dot com
Peter Davis wrote:
> > A trick for including a string-delimiting quote:
> >
> > <xsl:variable name="q">'</xsl:variable>
> > <xsl:value-of select="concat('don',$q,'t tread on me.')"/>
>
> Or you could just do it like this:
Sorry, I oversimplified the example. I meant for the string
to include both the string delimiting quote and the attribute-delimiting
quote. There are cases where it comes in quite handy and where you can't
use literal text. Never mind. I don't feel like digging it up now. I should
stop posting.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list