Hi, On Donnerstag, 8. März 2007, Christian Boltz wrote:
[...]
Basically, it is a good idea to use xsl:text and xsl:strip-space and/or xsl:preserve-space. Especially if you want exact control of your whitespace. It can be a bit tricky to find the correct combination though. :)
"a bit"?!? ;-)
Hehe, no comment. ;-)
See the attached XSLT file.
[...]
That looks much better, thanks.
And I even understand what you do ;-) so I could make some more modifications.
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. 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.
[...] 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 ;-) 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