This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: How to structure XSL stylesheets for chunking andnon-chunking
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: How to structure XSL stylesheets for chunking andnon-chunking
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Sat, 04 Aug 2001 18:51:13 -0400
- References: <20010730154308.C1434@e-smith.com>
/ Dan York <dyork@e-smith.com> was heard to say:
[...]
| Well, does anyone have a better way to do this? Is there any way to
| NOT have to have two separate stylesheets for chunking or non-chunking?
| Is there a way I can have *one* call and call it differently?
Not that I can see. It can't (practically) be done with a parameter
because chunking is implemented in XSLT by redefining the template
used for all the "chunked" elements and then using xsl:apply-imports
to get the content of the chunk.
I suppose it would be possible to use named templates and a parameter,
but, uh, I think the current solution is better. :-)
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | A child becomes an adult when he
http://www.oasis-open.org/docbook/ | realizes he has a right not only
Chair, DocBook Technical Committee | to be right but also to be
| wrong.--Thomas Szasz
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org