RE: [xsl] Is this about grouping ?

Subject: RE: [xsl] Is this about grouping ?
From: RSuiter@xxxxxxxxx
Date: Mon, 2 Jul 2001 09:20:36 -0500
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


Current Thread