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

Re: Namespace incompatibility b/n XPath 2.0 Data Model

Subject: Re: Namespace incompatibility b/n XPath 2.0 Data Model and XPath 1.0 (Was Re: XML schema general convert with XSLT (namespaces..))
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Mon, 24 Sep 2001 15:58:21 +0100
xpath 2.0 examples with namespaces
very interesting point.

>   Another (minor) potential trap is that in XPath 2.0 a
> namespace node has no parent.

still unclear re this behavior,

>
> There are two consequences of this decision:
>
> 1) ../namespace::* will no longer find all namespace nodes in whose scope
is the
> element, whose attribute is the current node.

ouch !

> 2) more generally, this is an example, showing that the promise will not
be
> fulfilled that existing XSLT 1.0 transformations will work in XSLT 2.0 as
in XSLT
> 1.0

i think there is always a bit of tweaking, but your above example is a very
painful example.

i can see implementators putting in a special switch to force namespace
copying to all descendant nodes

yuk, jim fuller


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.