Namespaces (Was: Re: [Xpath-ng] Thoughts on work products)
Jeni Tennison
jeni at jenitennison.com
Mon Nov 25 03:01:48 MST 2002
Hi Bryan,
>> XPath 2.0 alters the way namespace nodes work -- namespace nodes
>> don't have a parent element, which means that you basically end up
>> with the same number of namespace nodes as you have namespace
>> declarations (which breaks backwards compatibility but I think it's
>> fairly rare to get the parent of a namespace node, so the break is
>> fairly minor). XPath 2.0 also deprecates the namespace axis and
>> provides functions for accessing in-scope namespaces instead.
>
> Damn I must have missed that, or forgot it since I haven't read the
> specs for about three months, can you point me to part where this
> gets discussed in the spec, and which spec is relevant since the
> whole thing is spread out over so many documents it's hard to keep
> straight.
It's in the Data Model WD, in the Namespace Nodes section at:
http://www.w3.org/TR/query-datamodel/#NamespaceNode
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
More information about the Xpath-ng
mailing list