[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Re: XPath as a stand-alone programming language


Subject: Re: [xsl] Re: XPath as a stand-alone programming language
From: Liam R E Quin <liam@xxxxxx>
Date: Wed, 24 Oct 2012 14:55:56 -0400

On Wed, 2012-10-24 at 08:31 -0700, Dimitre Novatchev wrote:

> As Liam noted, another good to have feature in XPath would be
> namespace definition support and probably ways for defining the
> initial context.

I tried to get the XQuery and XSLT WGs interested in the idea of some
sort of 'bind expression', e.g.
  use prefix h = "some uri", i = "some uri" in h:/hello/i:invisible
but they went instead down the road of EQNames, which are easier for
machine generation of paths but harder for humans writing paths.

We don't often hear from people using XPath but not (XSLT|XQuery), even
though it is obviously a frequent thing to do.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Co-author, 5th edition of "Beginning XML", Wrox, Summer 2012


Current Thread
Keywords