Subject: Re: [xsl] Variables and HTML From: "Nathan Young" <natyoung@xxxxxxxxx> Date: Mon, 14 Mar 2005 14:58:21 -0800 |
Rather than using translate explictly, if I were doing thjis I'd define a function xsl:my:d-o-e in some namespace that took a string and replaced < > and & as I suggested so you could just do <xsl:value-of select="my:d-o-e(.)"/> where you needed to this.
<xsl:output use-character-maps="html-stuff" /> <xsl:character-map name="html-stuff"> <xsl:output-character character="" string="<"/> </xsl:character-map>
David
________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Nathan Young A: ncy1717 E: natyoung@xxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Variables and HTML, Pieter Reint Siegers | Thread | Re: [xsl] Variables and HTML, David Carlisle |
RE: [xsl] Format-Number Function, Michael Kay | Date | Re: [xsl] Variables and HTML, David Carlisle |
Month |