W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2015

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 08 Jun 2015 07:26:36 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28774-523-1M5JPeb3z4@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Monday, 8 June 2015 07:26:40 UTC