Subject: Re: [xsl] union vs. "or" vs. contains? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 20 Oct 2004 11:44:13 -0400 |
But this is precisely the advantage of implementing the different processing pathways by using layered modules (a core module plus a separate stylesheet "shell" for each processing pathway), rather than using testing-against-parameters.
Is this your original suggestion, whereby the user must choose the stylesheet to invoke?
Whatever I do, I want to keep processing completely controlled by the configuration file.
It's not that it can't be done this way; it's just much more cumbersome and hard to maintain. (Giving XSLT the reputation of being "hard".)
I don't find my current approach at all difficult to make sense of or maintain, actually; at least not on this count (I get much more confused with all of the modes, namespaces, and parameters being thrown around!).
If the citation-class is implemented as simply a call to a special 'author-year' stylesheet (or whatever), all the templates particular to that kind of processing can be in that stylesheet, with no variable testing anywhere at all.
How are you precisely envisioning this? In my ideal world, I'd be able to choose which files to include based on the parameter, but I guess that's not possible.
Cheers, Wendell
====================================================================== 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] union vs. "or" vs. contai, Bruce D'Arcus | Thread | Re: [xsl] union vs. "or" vs. contai, Robert Koberg |
RE: [xsl] Carriage Return, Jeremy C. Reed | Date | Re: [xsl] match string, Wendell Piez |
Month |