- From: Arle Lommel <arle.lommel@dfki.de>
- Date: Tue, 17 Jul 2012 14:57:54 +0200
- To: Multilingual Web LT Public List <public-multilingualweb-lt@w3.org>
- Message-Id: <100B6136-D970-425D-AF1A-866655699E53@dfki.de>
Hi all, In reviewing the specification I see that there are numerous places where *Pointer attributes are to be updated in regard to queryAttribute. I've reviewed the document and notes in the tracker and see that Felix was supposed to update this prior to leaving on vacation, but I don't think he was able to get to it. I believe the intent was to cover the use of CSS selectors as an alternative to XPath, correct? (Maybe Jirka can help clarify here.) So would this example <text xmlns:its="http://www.w3.org/2005/11/its" > <prolog> <its:rules version="2.0"> <its:withinTextRule withinText="yes" selector="//title|//author"/> <its:withinTextRule withinText="no" selector="//prolog/title|//prolog/author"/> </its:rules> <title>Designing User Interfaces</title> <author>Janice Prakash</author> <keywords>user interface, ui, software interface</keywords> </prolog> <body> <p>The book <title>Of Mice and Screens</title> by <author>Aldus Brandywine</author> is one of the best introductions to the vast topic of designing user interfaces. </p> </body> </text> Then become something like this? <text xmlns:its="http://www.w3.org/2005/11/its" > <prolog> <its:rules version="2.0" queryAttribute="css"> <its:withinTextRule withinText="yes" selector="title, author"/> <its:withinTextRule withinText="no" selector="prolog title, prolog author"/> </its:rules> <title>Designing User Interfaces</title> <author>Janice Prakash</author> <keywords>user interface, ui, software interface</keywords> </prolog> <body> <p>The book <title>Of Mice and Screens</title> by <author>Aldus Brandywine</author> is one of the best introductions to the vast topic of designing user interfaces. </p> </body> </text> If that is correct, I will create examples to show this mechanism. -Arle
Received on Tuesday, 17 July 2012 12:58:31 UTC