[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: XSLT 1 and 2 differences (d-o-e and namespaces)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 11 Mar 2005 19:59:53 -0000
xsl and xslt differences
> I was going though the new features provided by XSLT 2.0 language. I
> found that disable-output-escaping is now discouraged. I thought d-o-e
> was useful under special circumstances.. Why it will be deprectaed in
> XSLT 2.0? And what will be similar alternative in 2.0.

Please see the answer on another thread.
> 
> Also I found that namespace axis is deprecated in XSLT 2.0 . Why it is
> done so? Is it not an useful axis for XSLT programmers?
> 
The namespace axis offers more functionality than is needed (namespace nodes
have identity, and have parents) and this makes it expensive to implement in
some environments, e.g. when creating a view over a relational database.
There are two new functions in-scope-prefixes() and
namespace-uri-for-prefix() that provide the necessary functionality without
the same overheads.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.