Re: [xsl] XSL special chars output prob.

Subject: Re: [xsl] XSL special chars output prob.
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 11 Jun 2002 18:06:07 -0600 (MDT)
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


Current Thread