Re: [selectors-nonelement] First draft of a new spec for selecting non-element nodes

On 16.2.2014 5:47, Andrew Fedoniouk wrote:
> If someone need to select attributes (why not text/comment nodes
> too by the way?) then it is matter of writing trivial functions like:
> document.queryAttribute = function(elselector,attribute) { .. }

Use-case for attribute node selector needs ability to select attributes
using selectors syntax without escaping to API of some programming language.

    Jirka

-- 
------------------------------------------------------------------
  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 Sunday, 16 February 2014 08:43:01 UTC