[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: HTML tags from XML content
On Sat, 10 Feb 2001, Mingbo Qin wrote: > Hell, > > I am trying to transform an XML file to HTML format. The original XML > elements contain some HTML formatting tags in "&lt;P&gt;" format. If they are in that format they are NOT tags, just text. Tags begin with a "<" sign. > If I don't do anything about it, "<P>" will be displayed, that is, the > "&" is converted to "&" and that is it. That's what is supposed to happen. > I want this to be converted to "<P>". My guess is even if somehow I can make > this to happen, a "<P>" string will be diplayed on the browser. > > Is there any way that I can recover this "<P>" tag so that a browser would > understand, that is, not display character "<P>", but begin a NEW PARAGRAPH? It is probably possible to kludge your way round this in XSLT but the long-term solution is to make sure your file contains the right data before you process it. ///Peter XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|