This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Is there a way to translate entities into their character equ ivalents?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Is there a way to translate entities into their character equ ivalents?
- From: Ewout Kanger <EKanger at nl dot alpnet dot com>
- Date: Fri, 18 Aug 2000 07:45:45 +0100
- Reply-To: xsl-list at mulberrytech dot com
It looks like you are adding a <a> element, so why don't you use
<xsl:element name="a">
<xsl:attribute name="href">go away</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
Ewout Kanger
> -----Original Message-----
> From: Tom Power [SMTP:TomP@AdvantageGroup.co.nz]
> Sent: Thursday, August 17, 2000 10:49 PM
> To: 'xsl-list@mulberrytech.com'
> Subject: RE: Is there a way to translate entities into their
> character equ ivalents?
>
> have you tried adding <output method=html> to the <stylesheet> node?
>
> -----Original Message-----
> From: Steve Carton [mailto:scarton@retrievalsystems.com]
> Sent: Friday, 18 August 2000 3:51 a.m.
> To: XSL mailing-list
> Subject: Is there a way to translate entities into their character
> equivalents?
>
>
> I'd like to cheat in my style sheet and do something like this:
>
> <xsl:if test="blahblahblah"><a href="go away"></xsl:if>
> <xsl:apply-templates/>
> </a>
>
> My real world case is much more complex, but is there a way to
> have the HTML generated for this contain the <> symbols instead of
> the entities?
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list