- From: Felix Sasaki <fsasaki@w3.org>
- Date: Wed, 28 Nov 2012 17:27:32 +0100
- To: public-multilingualweb-lt@w3.org
- Message-ID: <50B63B74.6060201@w3.org>
Hi all, it seems that these notes [ *Note:* By default XPath 1.0 will be used for selection in global rules. If users prefer easier selection mechanism, they can switch query language to CSS selectors by using the |queryLanguage| attribute, see Section 5.3.1: Choosing Query Language <http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#queryLanguage>. *Note:* HTML5 parsing algorithm automatically puts all HTML elements into XHTML namespace (|http://www.w3.org/1999/xhtml|). Selectors used in global rules must take this into account. ] are relevant for both cases: linked rules and inline rules. All, Jirka, do you agree? If yes I would these into a separate subsection about global rules in HTML in general. Thoughts? - Felix Am 28.11.12 14:09, schrieb Jirka Kosek: > On 28.11.2012 13:45, Karl Fritsche wrote: > >> but the section 6.2. talks about external rules. In this case you have >> to add the prefix, i agree. But in the XHTML case the rules are inside >> of the XHTML and therefor the default namespace from the XML should >> taken into account. > No, default namespace has no effect on embeded XPath expressions, you > must use prefix in order to access elements that are in a namespace. > > Jirka >
Received on Wednesday, 28 November 2012 16:28:00 UTC