xsl-list
[Top] [All Lists]

Re: [xsl] Deescaping Atom brain damage

2006-10-23 08:54:28

 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>