Re: XPath Context & Scope for string-replace

/ Alex Milowski <alex@milowski.org> was heard to say:
| 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.

It is, that's what "for each matching node, the XPath expression ...
is evaluated" means. But we should probably make that more explicit :-)

| Also, what is the allowable scope of the expression?  The whole document?

Yup.

| So, if I write "concat(../foo,.)" I've blow streaming for that step.

Yup.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Some people do their laundry in emacs,
http://nwalsh.com/            | but I find typing ^C-^X-^W-q-L-TT to
                              | add the fabric softener to be a bit
                              | cumbersome.-- rlr@panix.com

Received on Wednesday, 7 May 2008 11:41:35 UTC