W3C home > Mailing lists > Public > www-style@w3.org > February 2014

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

From: Jirka Kosek <jirka@kosek.cz>
Date: Sun, 16 Feb 2014 09:42:33 +0100
Message-ID: <530079F9.9030904@kosek.cz>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: Brad Kemper <brad.kemper@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC