[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Select elements between others


Subject: RE: [xsl] Select elements between others
From: Armen.Martirosyan@xxxxxxxxxxxxxxxx
Date: Tue, 20 Jan 2004 11:13:33 +0100

Positional grouping needed. Look at http://jenitennison.com , the grouping
part.

|-----Original Message-----
|From: Joe Fawcett [mailto:joefawcett@xxxxxxxxxxx]
|Sent: Tuesday, January 20, 2004 1:29 PM
|To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|Subject: [xsl] Select elements between others
|
|
|I have received, what I consider to be, a badly designed xml file:
|<data>
|  <block/>
|    <item>One</item>
|    <item>Two</item>
|  <block/>
|    <item>One</item>
|    <item>Two</item>
|    <item>Three</item>
|   <block/>
|    <item>One</item>
|</data>
|
|I want to turn this into a more normal form to make it easier 
|to manage:
|
|<data>
|  <block>
|    <item>One</item>
|    <item>Two</item>
|  </block>
|  <block>
|    <item>One</item>
|    <item>Two</item>
|    <item>Three</item>
|  </block>
|  <block>
|    <item>One</item>
|  </block>
|</data>
|
|Thanks
|
|Joe
|
|_________________________________________________________________
|Sign-up for a FREE BT Broadband connection today! 
|http://www.msn.co.uk/specials/btbroadband
|
|
| XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
|

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml