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

Re: [ERR XTSE0210] when importing a stylesheet indirec

Subject: Re: [ERR XTSE0210] when importing a stylesheet indirectly
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 10:04:55 +0100
Re:  [ERR XTSE0210] when importing a stylesheet indirec
Johannes Neubauer schrieb:

[...]

My problem ist that there might be different contexts, in which the
two stylesheet-modules are used. So there might be a stylesheet C,
using some xsl:keys of A, without importing B, because it don't needs
it directly. Stylesheet D imports only B, because it uses no key of A.

In this case I would have to keep in mind, that they depend on each
other, so that importing one of them requires to import the other,
too.

Or I have to guarantee that one of the stylesheets is never used
without the other, so that I can import the other in this stylesheet.

Maybe draw a dependency diagram and then decide how to distribute the code among your various stylesheets. You may end up having more or less stylesheets than you currently have. Lumping more code together in order to simplify things is not per se a bad thing, as factoring out code in various modules in order to modularize is not per se a good thing, I'd say. Depends on the size of your stylesheets, and your personal preferences.

Michael

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.