[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Nesting a flat XML structure

Subject: Re: Nesting a flat XML structure
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Oct 2018 19:02:14 -0000
Re:  Nesting a flat XML structure
On Mon, Oct 29, 2018 at 06:52:59PM -0000, Martin Honnen martin.honnen@xxxxxx scripsit:
[snipped examples]
> though so keeps the "ul" lists separated from the sibling "p" elements, have
> so far not understood why a list belongs into a preceding paragraph.

I have so far found that taking a word processor format flat sequence of
elements and properly nesting the lists takes interpreting the source
for level, labelling the list with that level (generally via disposable
attribute), and then performing a distinct nesting pass where the final
list item of a list "eats" the immediate follow-sibling lists if the
list has a lower level-label than this list.  Especially when you have
complex list items (tables, multiple paragraphs, notes...) it's
generally just easier to approach the problem as a sequence of passes
over the content.

-- Graydon

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.