xsl-list
[Top] [All Lists]

Re: [xsl] Decoding HTML tags

2012-10-01 10:58:29
On 01/10/2012 16:46, Karl Stubsjoen wrote:
Wow.  I didn't think that worked like that.  Cool, thanks.

It only works like that where d-o-e is supported but it is explicitly an optional feature, notably mozilla doesn't support it as it generates a dom directly rather than producing serialised output, so it isn't doing any escaping that needs disabling.

A more robust solution if it is available is to parse the string (using an extension function such as saxon:parse) or the parser being proposed for xslt 3 or a parser written in XSLT.

David


--
google plus: https:/profiles.google.com/d.p.carlisle

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________

--~------------------------------------------------------------------
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>