- From: Michael Kay <mhk@mhk.me.uk>
- Date: Wed, 26 May 2004 08:47:15 +0100
- To: "'Martin Duerst'" <duerst@w3.org>, <public-qt-comments@w3.org>
- Cc: <w3c-i18n-ig@w3.org>, "'Liam Quin'" <liam@w3.org>
> At 10:07 04/05/25 +0100, Michael Kay wrote: > > > > I seem to remember that James Clark at one point said that having > > > a feature to recursively invoke XSLT (in this case on its output) > > > would easily solve this problem. > > > >You can now indeed invoke one XSLT template to process the output of > >another. This is the multi-pass solution that I showed you. > > Hello Michael, > > Are you saying that this can indeed be done with a single invocation > of an XSLT implementation, with a single stylesheet? Your use of > "pre-processing phase" and so on in your previous mail wasn't > totally clear on this, at least not for me. Yes, it can all be done within a single transformation in a single stylesheet. > > If this is true, it would be very nice, and I would assume that our > WG would then be very happy with the result. For our reference, can > you please either point to the section in the spec where this > multi-pass thing is described, or can you resend the code in > your earlier mail with some framework code added that shows how > to define the various passes? There's a simple example showing how temporary trees can be used to support multi-phase transformations in section 9.4 of the spec: http://www.w3.org/TR/xslt20/#temporary-trees I'm afraid I'm too busy today to do a worked example for you. Michael Kay
Received on Wednesday, 26 May 2004 03:47:47 UTC