muenchian-grouping

Muenchian Grouping - group within a node, not within the entire document

≡放荡痞女 提交于 2019-11-27 06:27:07
问题 I'm trying to use Muenchian grouping in my XSLT to group matching nodes, but I only want to group within a parent node, not across the entire source XML document. Given XSLT and XML as follows (apologies for the length of my sample code): XSLT <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"> <xsl:output method="html" indent="yes"/> <xsl:key name=