- From: Norman Walsh <ndw@nwalsh.com>
- Date: Sun, 05 Oct 2008 14:14:02 -0400
- To: public-xml-processing-model-comments@w3.org
Received on Sunday, 5 October 2008 18:15:04 UTC
"Florent Georges" <fgeorges@fgeorges.org> writes: > But I have a little question about your example: > >> <p:rename match="//item" new-name="foo"/> > > Do we agree this is equivalent to the following? (note the descendent axis) : > > <p:rename match="item" new-name="foo"/> Yes, I think so. >> The matched node is a comment and rename cannot >> target comments. > > About this example (matching a comment node), would it be an error > if the match expression matched both comment and element nodes? Yep. The first time a comment node matches, that's an error. Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | When a book and a head collide and http://nwalsh.com/ | there is a hollow sound, is it always | the book?-- Lichtenberg
Received on Sunday, 5 October 2008 18:15:04 UTC