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

Re: Combining stylesheets for baseclass-subclass type

Subject: Re: Combining stylesheets for baseclass-subclass type documents
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Sun, 14 Apr 2002 15:18:12 -0800
dual stylesheets

Arrrgghhh.... sorry for the time problems! When Mac OS X crashes on a dual processor system it changes the clock back to right before 1970 (documented bug). It is such a joy... i would defintiely *not* recommend an apple dual processor sytem... (and yes, I am on 10.1.3).

:(but the interface is so beautiful on a cinema display....):

Can you break out the common templates/variables/params into separate XSL documents? This way you can directly target your unique circumstance. For example, what i do is have a global_defintions.xsl that includes all the common XSLT documents (variables, params) that have common usage. Then in the unique XSLTs, I just include global_defintions.xsl. When you need the unique view you call the unique XSLT doc which includes the common stuff.


Daniel Brockman wrote:

I need help designing a couple of stylesheets that both transform similar
source types; the first stylesheet transforms the base type while the
stylesheet transforms an extension to this type.

The first stylesheet, a.xsl, provides the a-specific information. It has
to be
independant of the second stylesheet, b.xsl, which provides the b-specific
information. By definition, the second stylesheet, b.xsl, cannot provide
the a-
specific information.

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

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.