Subject: Re: [xsl] XSLT 1 and 2 differences (d-o-e and namespaces) From: "M. David Peterson" <m.david.x2x2x@xxxxxxxxx> Date: Fri, 11 Mar 2005 12:22:16 -0700 |
See David Carlisles post from about an hour or so ago in which he showcases that in XSLT 2.0 more elegant solutions exist to render escaped or non-escaped characters or mixtures thereof. Its about a 5 minute learning curve and you'll have it retained, never to think about d-o-e again :) On Sat, 12 Mar 2005 00:46:36 +0530, Midsummer Sun <midsummer.sun@xxxxxxxxx> wrote: > This is an response from Michael Kay which explains my doubt.. > > <quote> > Disable-output-escaping is generally derided because it's so > frequently misused by beginners who haven't understood that XSLT is > dealing with trees. But there are use cases for it, and a prime one > is extracting HTML documents or fragments that have been wrapped in an > XML wrapper. It's very problematic architecturally because it distorts > the interface between the transformer and the serializer, and that's > why not every processor supports it. However, there are cases where > it's the best solution available. > </quote> > > The explanation is convincing , but .. Michael has mentioned in above > statement.. "however, there are cases where it's the best solution > available" which sounds that d-o-e is an useful feature sometimes. So > why it is considered not a mandatory feature in 2.0..? > > Thank you. > > On Fri, 11 Mar 2005 13:00:28 -0600, Pieter Reint Siegers Kort > <pieter.siegers@xxxxxxxxxxx> wrote: > > > Why it will be deprectaed in XSLT 2.0? (d-o-e) > > > > See previous thread, [xsl] Variables and HTML - got some marvelous answers > > there :-) > > -- <M:D/> :: M. David Peterson :: XML & XML Transformations, C#, .NET, and Functional Languages Specialist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT 1 and 2 differences , Midsummer Sun | Thread | RE: [xsl] XSLT 1 and 2 differences , Michael Kay |
Re: [xsl] XSLT 1 and 2 differences , Midsummer Sun | Date | RE: [xsl] XSLT 1 and 2 differences , Michael Kay |
Month |