On 19/04/07, Bryan Rasmussen <[EMAIL PROTECTED]> wrote:
shouldn't that first template use position or something? And actually what I suppose is that there are other p_5f_prototype elements somewhere before the p_5f_something else, so I guess one would either use modes or pass a variable all the way along to respresent tree structure.
I've had some experience with doing this kind of thing in OO and often it is this kind of deep hierarchy people want to transform the flat OO structure to.
The OP didn't ask about that so I answered the given question Bryan. I've just finished a transform from ODF Writer into a nested structure (hence my earlier complaints about the wrapping of text:h in a list). It's doable in xslt 2.0 with the new grouping, it requires quite a bit of constraint on the part of the author too (First style must be a heading level 1 etc). regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
