W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > February 2012

Re: V.next: attribute value templates

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 02 Feb 2012 07:19:52 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2zkd1jul3.fsf@nwalsh.com>
Innovimax W3C <innovimax+w3c@gmail.com> writes:
> Another option is to says that the context is always empty and if you
> need to access some content you need to use the long form
> (p:with-option select="...") and the AVT are there only to allow you
> to do XPath that doesn't access the context (variables, computations,
> string manipulations)

Yes, that would be simpler. I wonder if it's useful enough though. And
if users would find it so confusing because it's different from XSLT
that they'd just hate it.

You could put the document in a variable if you needed it, so it
wouldn't be impossible to get at documents even if the context was

                                        Be seeing you,

Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676

Received on Thursday, 2 February 2012 12:20:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:50 UTC