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: Sun, 07 Jun 2015 08:59:42 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28774-523-Cha5m3FlTO@http.www.w3.org/Bugs/Public/>

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
(Personal response)

I don't think I understand either the problem or the proposed solution.

Suppose you want to output all the section headings in the document. You can
achieve this with

<xsl:mode on-no-match="shallow-skip"/>

<xsl:template match="section/heading/text()">
  <subtitle><xsl:value-of select="."/></subtitle>

Can you give a concrete example of a transformation where the definition of
shallow-skip gives you problems?

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 7 June 2015 08:59:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:54 UTC