Re: Extending p:log (action A-214-01)

On Wed, May 23, 2012 at 1:35 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> Innovimax W3C <innovimax+w3c@gmail.com> writes:
>> 1) Why two elements ?  Why not just a <p:report> with an optional test attribute
>
> Oh. Uhm. Yeah, I guess that would work. I vote "concur" on that decision :-)

Good !

>
>> 2) What is the context of the test : the current sequence of document ?
>
> Yes. For all expressions evaluated (however we decide to do that) the
> context item is the document that is being logged.

Heum... that's where it can be tricky. What if we log a sequence of document ?

>
>> 3) With respect to variable, we already have the p:template behaviour,
>> so we could just say that the content of <p:report> is evaluated as if
>> it was <p:template> ?
>
> Ah. Yes. Good thinking, Mohamed!

I'm just trying to catch up, Sensei !

Mohamed

>
>                                        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, 23 May 2012 12:15:39 UTC