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

Building complex, hierarchical html datasets

Subject: Building complex, hierarchical html datasets
From: Mark <charltonrainbird@xxxxxxxxxxxxxx>
Date: Mon, 18 May 2009 14:34:04 +0100
 Building complex
Hi XSL-List

I'm using Saxon 9 to process xslt 2 stylesheets from the command line.

I use xslt to transform either large single xml files or sets of xml
files using document().

These are all complex, hierarchical publications (usually with a
printed equivalent) delivered as html datasets with subcontents pages,
breadcrumb links and extensive xrefs.

I break data down into manageable-sized html pages, using logical
break-points in the structure eg. chapter 3 breaks into 3.1, 3.2 etc.
3.1 breaks into 3.1.1, 3.1.2, 3.1.3 etc. xsl:for-each-group is
invaluable here.

However, some of the dtds allow quite loose use of elements that make
the structure far harder to predict/analyse. eg. <law> elements may
sit at the top of the hierarchy, at the second level or third level.
They in turn may contain further <law> elements or <law-level>
elements. Alternatively they may sit within a <group> element or the
<law> elements may contain <group> elements. In turn <group> elements
may sit at the top of the hierarchy and contain, amongst many others,
<law> elements.

Therefore structure is very difficult to predict and producing a
routine for every variation that does (or could) exist would be very
arduous and probably unreliable. What I am after is not a specific
solution but any pointers anyone can give or locations of information
elsewhere on the type of approaches that could be used for this type
of work. Obviously I've tried searching for this myself but have been
unable to turn up much so far that covers my specific situation.

Regards

Mark

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.