Re: setting parameters on XSLT Prozessor

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Liberty Development
Message-ID <[email protected]>
Spank Master wrote:


> the other one in a for-each statement
> <xsl:for-each select="//root/channel">
> 	<xsl:if test="$sChannel=@address">...</xsl:if>
> </xsl:for-each>
> 
> the .xml looks like this
> 
> <root>
>   <channel address="0">
>     <signal address="0">
>       <filttype>0</filttype>
>       <filtfreq>10000</filtfreq>
>       <outputrate>9600</outputrate>
>     </signal>
> </root>
> 
> If I exclude the <xsl:if> with the second parameter test, it all works
> fine. Else the transformation is empty.

Can you provide a minimal complete example that fails? With the 
information provided above it is not clear what goes wrong, we do not 
even see the value you set for the parameter.



-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
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.