xsl-list
[Top] [All Lists]

[xsl] flat xml structure parsing

2006-09-05 02:02:07
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>