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

Re: XPath Context & Scope for string-replace

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 1 May 2008 21:14:53 +0200
Message-ID: <546c6c1c0805011214s6088745fpec380a5eb209f39d@mail.gmail.com>
To: "Alex Milowski" <alex@milowski.org>
Cc: "XProc WG" <public-xml-processing-model-wg@w3.org>
On Thu, May 1, 2008 at 6:05 PM, Alex Milowski <alex@milowski.org> wrote:

>
> Looking at http://www.w3.org/TR/xproc/#c.string-replace
>
> I wonder what the XPath context is for the evaluation of the XPath
> expression?  It
> probably should be the matched node.
>
> Also, what is the allowable scope of the expression?  The whole document?
>
> So, if I write "concat(../foo,.)" I've blow streaming for that step.
> That's fine and that
> flows along with our "if you can figure out streaming, good for you"
> model.



That's exactly what I was saying :-)



>
>
> --
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of
> the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
>
> Bertrand Russell in a footnote of Principles of Mathematics
>
>


-- 
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 Thursday, 1 May 2008 19:15:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 May 2008 19:15:31 GMT