[Home] [By Thread] [By Date] [Recent Entries]




"K. Ari Krupnikov" wrote:
> 
> james anderson <james.anderson@s...> writes:
> 
> > "K. Ari Krupnikov" wrote:
> > >
> > > Arjun Ray <aray@n...> writes:
> > >
> > > ...
> > >
> > > So instead of /a:foo/b:bar, you'd write
> > > /foo[@xmlns='a-role']/bar[@xmlns='b-role']
> > >
> > > Interesting.
> > >
> >
> > i believe the complete proposal includes (or at least suggests) a dom access
> > layer which effects the relabeling and permits
> >
> >  /foo/bar
> 
> Clearly, this XPath matches a superset of nodes matched by the one
> above.
> 

not necessarily.

one way to think of xmlns-based relabeling is that it translates label-sets
(conceived in a two-d plane) from a set of variably located lines specified by
the prefixes to a single constant line specified by the namespace name.

one way to think of attribute-based relabeling is that it translates label
sets from a constant origin line to a set of variably located lines specified
by the attribute values.

the size of the respective sets of labels does not change.


...

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member