[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 #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>
</xsl:template>

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