Re: [xsl] flattening and re-ordering nested notes

Subject: Re: [xsl] flattening and re-ordering nested notes
From: Walter Lee Davis <waltd@xxxxxxxxxxxx>
Date: Mon, 18 Aug 2008 11:00:42 -0400
Thanks. I am basically looking at re-ordering the elements at a very basic level. I have everything working great when it comes to parsing the document and any of its first-level notes. It's the notes inside of notes that are making me crazy, so I am imagining that if I can get those "out" of their parent notes, so they become peers rather than children, then the rest of my system can work in peace.

On Aug 18, 2008, at 9:40 AM, Andrew Welch wrote:

You need to supply the input and required output, covering the edge
cases that you can foresee, and then the solution can be tailored to
your requirements.


I am imagining that I can insert a stage into my multi-stage parser which does this:

1. find all notes, at any level
2. output all of them in order at one level of hierarchy (actually, order is not really important at all in this case, each one is becoming a database row later on)


Is this something I should be using for-each for?

Thanks in advance,

Walter

Current Thread