[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 01/10/2012 16:46, Karl Stubsjoen wrote:
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
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
Re: [xsl] Decoding HTML tags
Subject: Re: [xsl] Decoding HTML tags From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 01 Oct 2012 16:58:06 +0100 |
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. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Decoding HTML tags, Karl Stubsjoen | Thread | Re: [xsl] Decoding HTML tags, Karl Stubsjoen |
Re: [xsl] Decoding HTML tags, Karl Stubsjoen | Date | Re: [xsl] Decoding HTML tags, Karl Stubsjoen |
Month |
Keywords