Next in thread →
Next in month →
Re: DOCBOOK-APPS: How to structure XSL stylesheets for chunking andnon-chunking
/ Dan York <> 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 <> | 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
Next in thread →
Next in month →