|
Subject: Re: [xsl] two-level grouping xslt 2.0 From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Fri, 29 Feb 2008 14:28:51 +0100 |
Your two template rules work well. However, I think I have managed to misrepresent the problem--one of the main pitfalls of submitting queries, it seems.
The problem is this: The <story-title> element is the opening element of a "story" (as opposed the <story> element which is courtesy of the xhtml export from InDesign). At any rate, each "story" is composed of multiple elements such as <story>, <page>, and <imggroup>. That is why I am trying to execute a two-level grouping rule. The outer for-each-group should structure the <level1 class="unit"> hierarchy; the inner for-each-group should structure the <level2 class="selection">.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>Martin Honnen http://JavaScript.FAQTs.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] two-level grouping xslt 2, Terry Ofner | Thread | [xsl] Timeout of external xslt docu, Joel Dubien |
| RE: [xsl] Insert elment in XSD, Michael Kay | Date | Re: [xsl] Different conditional out, Michael Ludwig |
| Month |