|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Turning escaped HTML back to markup
Paul Spencer wrote:
I am exporting an Access 2003 database as XML. Some of the fields should contain HTML, but the XML export from Access seems to escape the angle brackets. So three questions: Assuming your stylesheet wants to output HTML then disable-output-escaping helps, as long as the processor supports it: <xsl:value-of select="foo" disable-output-escaping="yes"/> Assuming the escaped markup is well-formed XML (which unfortunately HTML often is not) then you can try to parse it with an extension function like saxon:parse http://www.saxonica.com/documentation/extensions/functions/parse.html Today's thread "fault tolerant saxon:parse" also suggests you can parse HTML tag soup by pluggin in the TagSoup parser. -- Martin Honnen http://JavaScript.FAQTs.com/
|
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
|

Cart








