- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Sun, 5 Oct 2008 19:18:52 +0200
- To: "Norman Walsh" <ndw@nwalsh.com>
- Cc: public-xml-processing-model-comments@w3.org
2008/10/5 Norman Walsh wrote:
> I think the shortest argument why is that the BNF for an XSLT 2.0
> Pattern[2] (which we call an XSLTMatchPattern and still need to cite a
> little more carefully) cannot be empty.
I would second that for the same reason.
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"/>
> 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?
Regards,
--
Florent Georges
http://www.fgeorges.org/
Received on Sunday, 5 October 2008 17:19:27 UTC