- From: <Toman_Vojtech@emc.com>
- Date: Wed, 22 Jul 2009 02:28:54 -0400
- To: <public-xml-processing-model-comments@w3.org>
> <p:choose> > <p:xpath-context xmlns:foo="http://www.foo.com"/> > <p:when test="/foo:document/bar:title" > xmlns:bar="http://www.bar.com"> > > That's not what xpath-context means. (And I fear it's too late to > change its name.) > > XPath context establishes the context *node* for XPath expressions. > The namespace context always comes from the node on which the XPath > expression occurs. OK, that makes sense. I was wondering about the namespace context, too. (Actually, one of the reasons why I have added the test was to see whether I understood it right or not... :) Perhaps section 4.4.1 (p:xpath-context) could be more explicit the namespace context. Regards, Vojtech
Received on Wednesday, 22 July 2009 06:30:52 UTC