- From: Jirka Kosek <jirka@kosek.cz>
- Date: Thu, 11 Jul 2013 12:05:22 +0200
- To: Nathan Glenn <garfieldnate@gmail.com>
- CC: public-i18n-its-ig@w3.org
- Message-ID: <51DE8362.8050807@kosek.cz>
On 10.7.2013 20:18, Nathan Glenn wrote: > My first question is about namespaces. The spec says that the XPath > context is the same as for the absolute selector, with a few changes. I am > unsure as to whether that means that the context for a relative selector is > the same as that of the absolute selector that led to it, or that the spec > language is the same for it. This leads me to wonder whether the set of > namespaces available to the XPath is the same one that was used in the > absolute selector, or is the set of namespaces in scope for the context > node (the node selected via the absolute selector, a rule's selectorattribute). No, in XPath expression you can use only namespace prefixes which are declared for element that contains XPath expression which is one of ...Rule elements. > My second question is about variables. Are variables which are bound for > absolute selectors also bound for their relative selectors? In other words, > does the markup below make sense? Yes. -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Received on Thursday, 11 July 2013 10:05:54 UTC