| Subject: RE: [xsl] disable-output-escaping in xsl:attribute From: <Jarno.Elovirta@xxxxxxxxx> Date: Fri, 22 Oct 2004 11:09:13 +0300 | 
Hi, > I've got the following source: > <xsl:element name="span"> > <xsl:attribute name="title"> > <xsl:text disable-output-escaping="yes">Gäste</xsl:text> > </xsl:attribute> > <xsl:text disable-output-escaping="yes">Gäste</xsl:text> > </xsl:element> > > Then I process it via PHP (and Sablotron 1.0) and it produces: > '<span title="G&auml;ste">Gäste</span>' instead of > the expected > '<span title="Gäste">Gäste</span>'. > > How can I fix this? You can't, because DOE doesn't work for attribute nodes, only for text nodes. There are extensions in some processors that allow you to use DOE with xsl:attribute, refer to Sablotron documentation. Cheers, Jarno - Hocico: Spirits of crime (bestializtik mix by Dulce Liquido)
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] disable-output-escaping i, Michael Kay | Thread | RE: [xsl] disable-output-escaping i, Stefan Borchert | 
| [xsl] disable-output-escaping in xs, Stefan Borchert | Date | Re: [xsl] disable-output-escaping i, G. Ken Holman | 
| Month |