- From: Norman Walsh <ndw@nwalsh.com>
- Date: Sun, 05 Oct 2008 14:14:48 -0400
- To: public-xml-processing-model-comments@w3.org
- Message-ID: <m263o6ucx3.fsf@nwalsh.com>
"Florent Georges" <fgeorges@fgeorges.org> writes:
> I am not sure to understand. Let's say we have the follwing document:
>
> <root>
> <elem/>
> <!-- comment -->
> <elem/>
> </root>
>
> Will this step generate an error because the match pattern will
> select the comment and text nodes, or will this only result in
> renaming the second element? (ok, the example is pointless, but it
> shows the issue):
>
> <p:rename match="elem/following-sibling::node()" new-name="foo"/>
The former, that's an error.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | To probe a hole we first use a straight
http://nwalsh.com/ | stick to see how far it takes us. To
| probe the visible world we use the
| assumption that things are simple until
| they prove to be otherwise.--E. H.
| Gombrich
Received on Sunday, 5 October 2008 18:15:49 UTC