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

Re: Building complex, hierarchical html datasets

Subject: Re: Building complex, hierarchical html datasets
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 19 May 2009 11:01:05 -0400
Re:  Building complex

Consider splitting your process into separate phases, each processing the results of the last, and/or amending the data with apparatus like "maps" representing the abstracted structure. Even when not strictly necessary, this can be an excellent way of helping to manage the complexity of a task like this, as it isolates and foregrounds some of the design decisions.

In XSLT 2.0 this can all be done within a single transformation, although for development you may want to split out into more than one, making it easier to see what's going on.


At 06:57 AM 5/19/2009, you wrote:
Having read your comments, I think maybe I need to try and focus on
exactly where I split the data ie. at which generalised level, say
<xsl:template match="*/*/group | */*/law | */*/exp-level-1 |
*/*/exp-level-2" priority="2"> rather than just relying on a general
template match for "law" or "group".

It might also simplify things for me if I try to use variables/keys
for storing some details rather than repeating complex patterns. I'll
have to think about that one.

I think at least you have given me some confidence that my approach is
not totally wrong and that basically I may just need to put in more
donkey work to pinpoint what data I need to pull out and when. As my
boss likes to tell me, "That's why they call it work" ;-))

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

Current Thread


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.
First Name
Last Name
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.