OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: How to structure XSL stylesheets for chunking andnon-chunking

/ 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,

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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC