[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: HTML and <

Subject: Re: HTML and <
From: Alan Gardner <scipiomedia@xxxxxxxxxxx>
Date: Tue, 20 May 2003 11:01:01 -0600
html lt
Thanks for the FAQs. Things are working smoothly once again.

Alan

On 5/20/03 10:32 AM, "David Carlisle" <davidc@xxxxxxxxx> wrote:

> 
> This is a FAQ.
> 
>> I've got an RSS feed that uses html special character tags such as the &lt;
>> and &gt; but Xalan converts those symbols to <>,
> 
> It isn't xalan that is doing that, it is the XML parser, as &lt; _means_
> a less than character. if you want a tag then the input is supposed to
> have a <.
> 
>> My output method is set to HTML, but how do I get these tags to render as
>> html, rather than text?
> 
> If you can fix your input then it is best to _have_ tags in the input ie
> <p> rather than &lt;p&gt; which is not a tag at all.
> 
> Failing that you need to parse the string using an xml (or html) parser,
> some systems may have extension functions to do that,
> 
> or as a last resort, if you are in a situation where
> disable-output-escaping works you could use
> <xsl-value-of disable-output-escaping="yes" select="."/>
> but use if the last option is almost always a sign that something else
> is wrong earlier in the processing.
> 
> David
> 
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. 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
> ________________________________________________________________________
> 
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.