Hello! The Question was mentioned here, I saw it in the archive, but I want to ask it again in a modified form: What about using XPath with CSS? It could be integrated easily, using the XPointer-Fragment: #xpointer(//element[child/@attr = 'foo']) { color: red; } Or for content, with a new xpath-Pseudomethod: p::after { content: xpath(img[0]/@alt); } table::after { content: "Total " xpath(count(tbody/tr)) " lines"; } As said in the archived posts: it is no problem for todays user-agents to use XPath, they often build a DOM-Tree anyway� -- Pascal SchmittReceived on Thursday, 7 April 2005 21:30:35 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT