[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|