xsl-list
[Top] [All Lists]

Re: XSLT 1 and 2 differences (d-o-e and namespaces)

2005-03-11 12:22:16
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(_dot_)sun(_at_)gmail(_dot_)com> 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(_dot_)siegers(_at_)elnorte(_dot_)com> 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 :-)

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




-- 
<M:D/>

:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages Specialist

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