This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Problem Translating 'escaped' HTML tags to real HTML
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 3 Oct 2002 14:06:39 +0100
- Subject: Re: [xsl] Problem Translating 'escaped' HTML tags to real HTML
- References: <D8F2E6B596D3D6119AF200A0C96CC5162E4ADD@FNGEXC03>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> however the returned text does not contain the <br/> tags!!?? If I
which means that your template was never called, most likely, how are
you calling it (on what input) your template looks about right.
Of course ideally you could just fix whatever program is producing your
input document to not quote the html and leave the html elements as xml
element markup.
> I have tried using an xsl:element tag: <xsl:element>br</xsl:element>. This
> is ignored too.
that's a syntax error, xsl:element has a mandatory name attribute.
> I have also tried to use an xsl:text tag: <xsl:text><br></xsl:text>
> and
That isn't well foirmed XML so would be rejected by the XMl parser and
not passed to the XSLT system at all.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list