|
Subject: Re: [xsl] Grouping question From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 13 May 2009 15:55:24 +0200 |
How do I need to write the for-each-group element for the above condition?
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xsd mf" xmlns:mf="http://example.com/2009/mf" version="2.0">
<xsl:template match="root">
<xsl:copy>
<xsl:sequence select="mf:group-heading(*, 2)"/>
</xsl:copy>
</xsl:template><root> <h2>testing</h2> <p>data recovery, and application testing. </p> <h4>Support for file system</h4> <p>Objects for replication:</p> <h3>Session</h3> <p>Before creating sessions... </p> <h3>Wizard</h3> <p>In Manager, you can . </p> <h4>Support for file system</h4> <p>Objects for replication:</p> <h2>testing1</h2> </root>
Martin Honnen http://msmvps.com/blogs/martin_honnen/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Grouping question, M Balaji | Thread | Re: [xsl] Grouping question, M Balaji |
| Re: [xsl] XSL - Documentation, Tony Graham | Date | RE: [xsl] XSL - Documentation, Michael Kay |
| Month |