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

modularity and flexibility (was keys and variables)

Subject: modularity and flexibility (was keys and variables)
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Sat, 21 Aug 2004 15:36:33 -0400
xslt modularity
On Aug 21, 2004, at 8:07 AM, Jeni Tennison wrote:

In that case, if the need arose, I could always later change the
representation of that temporary data if need be, and then adjust as
needed. Right?

Yes, although of course any changes would mean changing the stylesheets that mapped to/from that format as well.

True.


OK, here's what I'm thinking. For now, stay with mods and docbook.

First step, modularize the xsl files as cleanly as possible, so that my main file is just basically the following, and can be included in turn in a standard document stylesheet (let's call it dbng.xsl):

	<xsl:include href="drivers/biblio-driver.xsl" />
	<xsl:include href="drivers/document-driver.xsl" />
	<xsl:include href="output/biblio-output.xsl" />
	<xsl:include href="output/citation-output.xsl" />

If I'm right, then adding a new format just means changing the drivers (probably within the context of an entire new directory).

Does this seem sensible?

BTW, the temporary tree and grouping stuff I am now doing in XSLT 2.0: there are ways to do this in 1.0 using standards exslt extensions; yes?

Bruce

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.