[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 #6 from Michael Kay <mike@saxonica.com> ---
The shallow-skip section gives two template rules:

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

<xsl:template match="." mode="M"/>

I would have assumed that most readers know that <xsl:apply-templates/> means
<xsl:apply-templates select="child::node()"/>, but if people feel that the
latter would add clarity, I'm happy to oblige.

Perhaps readers are less familiar with the fact that match="." matches anything
(including text nodes, processing instruction and comment nodes, attribute
nodes, atomic values etc). But we do attempt to explain it in the prose.

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

Received on Monday, 8 June 2015 07:37:23 UTC