[Home] [By Thread] [By Date] [Recent Entries]
Dale Tan wrote:
Lookup the list guidelines: it has an instruction on how to get the version and name of any xslt processor. In short, you should use the following command somewhere in your stylesheet and note its output: <xsl:value-of select="system-property('xsl:version')" />
<xsl:value-of select="system-property('xsl:vendor')" />You state that it does work on a windows box and that it does not work on a linux box. The most likely reason is a path problem. Are your paths equal on both systems? Can you try a small test with the following, silly, obfuscated way of outputting the stylesheet content itself? It uses both a key function and the document function. If you get an error with it about the path, then I think there's a bug with your processor. If you don't get an error about the path, then you should check the paths of your current XML: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:key name="t" match="xsl:variable" use="@name" /> <xsl:variable name="test" /> <xsl:template match="/">
<xsl:copy-of select="document(string(key('t', 'test')/@nothing))"/>
</xsl:template></xsl:stylesheet> call the above stylesheet with the stylesheet itself as XML input. Cheers, -- Abel Braaksma
|

Cart



