- From: Norman Walsh <ndw@nwalsh.com>
- Date: Thu, 10 Sep 2009 10:35:00 -0400
- To: XProc Dev <xproc-dev@w3.org>
- Message-ID: <m27hw6euln.fsf@nwalsh.com>
George Cristian Bina <george@oxygenxml.com> writes:
> The short description of the replace step reads
> http://www.w3.org/TR/xproc/#c.replace
> ***
> The p:replace step replaces matching elements in its primary input with
> the document element of the replacement port's document.
> ***
>
> Note the "matching elements" part.
>
> Then, below we see the description of the match option:
> ***
> The value of the match option must be an XSLTMatchPattern. It is a
> dynamic error (err:XC0023) if that pattern matches anything other than
> element, text, processing-instruction, or comment nodes.
> ***
>
> Note that it can match without an error also text, processing
> instructions and comments.
>
> So, what are the nodes that the replace step acts on?
Per the minutes of the 6 Aug telcon, this has been resolved by
replacing "element" with "node" appropriately.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Those who in their youth did not live
http://nwalsh.com/ | in self-harmony, and who did not gain
| the true treasures of life, are later
| like long-legged old herons standing
| sadly by a lake without fish.--The
| Dhammapada
Received on Thursday, 10 September 2009 14:35:42 UTC