- From: George Cristian Bina <george@oxygenxml.com>
- Date: Fri, 31 Jul 2009 12:44:18 +0300
- To: Toman_Vojtech@emc.com
- CC: xproc-dev@w3.org
Hi Vojtech, In that case the description following the match option description also needs to be updated? *** Every element in the primary input matching the specified pattern is replaced in the output is replaced by the document element of the replacement document. *** Is the replace step able to change a PI with another one? Note that the above talks about the document element of the replacement document as what will replace the matching nodes. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Toman_Vojtech@emc.com wrote: >> 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:44:57 UTC