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

> 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 UTC