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

Re: Deescaping Atom brain damage

Subject: Re: Deescaping Atom brain damage
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 23 Oct 2006 16:54:07 +0100
Re:  Deescaping Atom brain damage
>  Maybe I can get away with disable-output-escaping. 
> Anything else I should try?

If you allow yourself extension functions you could use saxon:parse()
(or similar) which would work for the example you gave, but in general
if you want to parse (non well formed) html you'd need to use an
extension function to tagsoup or some other html parser.
If d-o-e works in the context that you are in. it's no doubt going to be
the easiest and quickest...


If you upgraded to xslt2 you'd have a few more possibilities as it's
(slightly) more reasonable to consider writing a parser for html
snippets in xslt2. see
http://www.dcarlisle.demon.co.uk/htmlparse.xsl

David

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.