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>