This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XSL special chars output prob.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]