W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

Re: XSLT 2.0 (was 1.1): xsl:apply-transform

From: Ricardo Amador & M.Manuel Cabrita <ra.mc@mail.telepac.pt>
Date: Mon, 12 Feb 2001 13:05:23 -0500 (EST)
To: <xsl-editors@w3.org>
Message-ID: <NCBBLHBJCBPMBLHIPBKACEDJCKAA.ra.mc@mail.telepac.pt>
I've just revised the XSLT 1.1 requirements and found that my suggestion for
XSLT1.1 is quite out of scope.

I've also checked Appendix G of XSLT1.0, but I didn't find any reference to
a composing element like xsl:apply-transform, and for me it is one of the
most natural concepts.

When I think about transforming XML documents, it is quite natural for me to
think something like: I have this document that conforms to DTD1, and this
transformation from DTD2 to HTML, it is easy to transform DTD1 into DTD2, so
I will transform my document to HTML by converting it from DTD1 to DTD2
(with a new transformation) and then I re-use the transformation from DTD2
to HTML.
>From what I know, this is not possible in XSLT1.1 unless I use xsl:include
and modes, which for me is not a natural way of achieving it. The use of
modes would force me at least to add a mode attribute to all templates in
the imported or importing stylesheet, so that the 2 sets of templates are

If it is possible to use multiple input documents and it will be possible to
create multiple output documents, shouldn't it be also possible in the
future to compose multiple transformations...

BTW, one other common problem I have is to split a node-set into 2. One
containing all elements before a specific node and the other with the
remaining nodes. I usually solve it with recursive templates, but I'm
allways a bit affraid of stack limits.

Sorry if all I do is waste your time by asking for silly and obvious stuff,
but it's the best help I can give.
I've been using XSLT for a year or so and I love it. Thank YOU :-))
Best Regards,
Received on Monday, 12 February 2001 14:39:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC