Re: setting parameters on XSLT Prozessor

"erwy" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization http://groups.google.com
Message-ID <[email protected]>
(sorry for my english, do not hesitate to correct me )

Hi,

I'm not sure that's the problem but this writing


<xsl:param name="gSelectedNode">/root</xsl:param>
..
   <xsl:when test="$gSelectedNode = '/root'> .....</xsl:when>


is a bad idea


You're $gSelectedNode  is not a default type "string" but the very
special "fragmentNode" of xslt 1.0 , a type that you must use with
precautions .

try

<xsl:when test="string($gSelectedNode) = '/root'> .....</xsl:when>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.