Re: V.next: attribute value templates

Dear all,

I don't think they are so uncontroversial than that

In XSLT or XQuery, the context is define EVERYWHERE

But in XProc we made some shortcut to keep things simple to explains

I fear that AVT will reopen this can of worm

Mohamed


On Thu, Jan 12, 2012 at 1:08 AM, Norman Walsh <ndw@nwalsh.com> wrote:
> I expect attribute value template are uncontroversial, but...
>
> Can they refer to a context node?
>
> If they can, what is the context node? The document on the default readable port?
>
> Can they be used for elements that would ordinarily be resolve statically?
>
> <p:pipeline>
>  <p:option name="method" required="true"/>
>  <p:serialization port="output" method="{$method}"/>
>  ...
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh
> Lead Engineer
> MarkLogic Corporation
> Phone: +1 413 624 6676
> www.marklogic.com



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Wednesday, 1 February 2012 17:27:16 UTC