Hi, On Freitag, 9. 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 ;-)
Ahh, ok.
[...] However, I will accept patches *g*
As usual. :-)
[...] 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?
As always it is a matter of taste.
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...
From my work with XSLT, you get headache when * your XML sucks. Really, some XML is so deeply wrong structured that it takes you a glass of Aspirin (at least!) to write a decent XSLT stylesheet. * you write XSLT stylesheets like a procedural programming language. * you use XSLT for something that it was not invented for. For example, creating some kind of "binary" output from the transformation. * you don't use the full potential of XSLT. For example using xsl:for-each instead of xsl:apply-templates where it is in most cases more appropriate. * you don't have a good book or a reference. :) * you don't know how to sort indices with umlauts. Arggh! In general, I get always headaches with the last point. ;-) From my daily work here I haven't found a better solution than XSLT. In most cases, XSLT is good enough. But I agree, for some parts you need Aspirin. ;-) (Maybe the situation has changed with XSLT 2.0/XPath 2.0.)
Norman Walsh wasn't talking about XSLT, was he? [1]
I can't remember, but I suspect he is always talking about DocBook, XML, XSLT and the like. :) Bye, Tom -- Thomas Schraitle ---------------------------------------------------------------------- SUSE LINUX GmbH >o) Documentation Specialist Maxfeldstrasse 5 /\\ 90409 Nuernberg _\_v http://en.opensuse.org/Documentation_Team --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-doc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-doc+help@opensuse.org