[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Is this about grouping ?

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.