[Bug 28774] [XSLT30] Suggestion: allow shallow skip to match on non element nodes

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28774

--- Comment #5 from Tom Hillman <tomos.hillman@oup.com> ---
How about processing instructions and comments?

My assumption that only elements (and the document node) were being matched
comes from the following equivalent template in the spec at
http://www.w3.org/TR/xslt-30/#built-in-templates-shallow-skip

<xsl:template match="document-node()|element()" mode="M">
  <xsl:apply-templates mode="#current"/>
</xsl:template>

Should there be a select statement on the apply-templates for clarity?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 8 June 2015 07:26:39 UTC