W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

RE: What are the nodes that the replace step acts on?

From: <Toman_Vojtech@emc.com>
Date: Fri, 31 Jul 2009 05:19:42 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC787105EB24F@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
> 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?

Elements, text, PIs, and comments. I think that the text talks about
"mathing elements" and not "matching nodes" is an error.

Regards,
Vojtech
Received on Friday, 31 July 2009 09:21:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 31 July 2009 09:21:15 GMT