This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Is this about grouping ?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Is this about grouping ?
- From: RSuiter at cccis dot com
- Date: Mon, 2 Jul 2001 09:20:36 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Benoit,
If you have any control over it, a better structure for your XML would be:
<?xml version="1.0"?>
<topic>
<group>
<a>ItemA</a>
<b>ItemB</b>
<f>text1</f>
<g>text2</g>
<h>text3</h>
<i>text4</i>
</group>
<group>
<a>ItemA</a>
<b>ItemB</b>
<f>text5</f>
<g>text6</g>
<h>text7</h>
<i>text8</i>
</group>
<group>
<a>ItemA</a>
<b>ItemB</b>
<f>text9</f>
<g>text10</g>
<h>text11</h>
<i>text12</i>
</group>
</topic>
With this structure you can save yourself a lot of trouble in your XSLT.
I think this is one of the things that others were pointing to in previous
answers.
Rick Suiter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list