wrote:
> Thanks for the tip.
> I read something in an XML forum that this was not possible with the current XSL, except in certain parsers like Saxon, Xerxes,
> using the xsl:document or even the redirect:. But I had no luck getting either to do what I wanted.
> I would think that this is not that difficult after all it is essentially what we are doing with chunk xsl.
Code which I have provided is writtent in XSLT 2.0. You need XSLT 2.0
processor like Saxon9 from http://saxon.sf.net
There is also nice GUI for Saxon invocation if you don't like dealing
with command-line: http://kernowforsaxon.sourceforge.net/
--
------------------------------------------------------------------
Jirka Kosek e-mail: http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------