Hello, on Freitag, 9. März 2007, Thomas Schraitle wrote:
On Donnerstag, 8. März 2007, Christian Boltz wrote: [...] Yesterday I forgot to ask: Why did you use XSLT 1.1? I suspect you need them because of the xsl:document. However, XSLT 1.1 was an "intermediate step" the latest version is 2.0. As far as I know the former never reached recommendation status.
The answer is more simple than you might think - the file I used as "template" was using 1.1 and I did not even think about changing it ;-)
Unfortunatly, at the moment only Saxon can process XSLT 2.0 (or 1.1?) stylesheets. You will loose a lot of compatibility by using XSLT 1.1/2.0. If you really need xsl:document, I can recommend EXSLT's exsl:document function:
See http://www.exslt.org/exsl/elements/document/index.html
It has a similiar functionality like xslt:document and it is supported by libxslt.
To make the story short: This project works as needed, and "never change a running system" - especially if XSLT is involved ;-) However, I will accept patches *g*
[...] Christian Boltz, again searching for a xsl-sig ;-)
It doesn't matter how many steps it takes as long as it's fun, right? --Norman Walsh
XSLT and fun? I usually get headache. OK, it wasn't a big problem with this small file, but I had "some" bad experience with the XLS files for the german SUSE Linux FAQ... Norman Walsh wasn't talking about XSLT, was he? [1] Regards, Christian Boltz, again searching for a sig... [1] Wait: Google says "Norman Walsh is an XML Standards Architect". He must have been working on something else at this time ;-) -- [PDF] Fipptehler korrigiert -- wie konnten wir das bisher uebersehen ;) - <xsl:if test="position()=1">Schüsselworte: </xsl:if> + <xsl:if test="position()=1">Schlüsselworte: </xsl:if> [David Haller in suse-linux-faq] --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-doc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-doc+help@opensuse.org