[Home] [By Thread] [By Date] [Recent Entries]

Subject: flat xml structure parsing
From: Jimmy <jimmy@xxxxxxxxxxxxxx>
Date: Tue, 05 Sep 2006 11:01:33 +0200
I have a given flat xml structure of which I have to build a hierarchical structure. Following situation:

<document>
   <section>
      <paragraph name="start">
   </section>
   <section>
      <paragraph name="x">
   </section>
   <section>
      <paragraph name="x">
   </section>
   <section>
      <paragraph name="end">
   </section>
   <section>
      <paragraph name="x">
   </section>
</document>

I'm starting from the paragraph with the name "start" and have get all the "x" (unknown how many) until the paragraph "end". So this leaves every "x" following the end. Anyone got an idea how I can manage this?

Cheers
Jimmy

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member