[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Does anyone have thoughts on the suitability of xslt/techniques for transforming non-nested structures to nested ones? e.g.
Given input such as:
produce output such as:
...where the appearance of the second <para role="h1"> effectively marks the closure of the preceeding one.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] Build hierarchies
Subject: [xsl] Build hierarchies From: "Steven Lloyd" <stevenl@xxxxxxx> Date: Wed, 26 Nov 2003 10:36:08 +0000 |
Does anyone have thoughts on the suitability of xslt/techniques for transforming non-nested structures to nested ones? e.g.
Given input such as:
<para role="h1">Text</para> <para/> <para/> {deleted stuff...} <para role="h1"> ....
produce output such as:
<para role="h1"><para>Text</para> <para/> <para/> {deleted stuff...} </para>
...where the appearance of the second <para role="h1"> effectively marks the closure of the preceeding one.
-- Steve Lloyd, XML Developer-Editorial Production Dept. International Baccalaureate Organisation Tel: +44 29 2054 7869 FAX: +44 29 2054 7778
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Insert <options> from XML, David Carlisle | Thread | Re: [xsl] Build hierarchies, David Carlisle |
Re: [xsl] XML grouping by attribute, Kaarle Kaila | Date | Re: [xsl] Insert <options> from XML, David Carlisle |
Month |
Keywords