This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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,
                                          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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]