RE: [xsl] xsl:when - comparing parameter and element values

Subject: RE: [xsl] xsl:when - comparing parameter and element values
From: "Keith" <keith@xxxxxxxxxxxxx>
Date: Fri, 5 Jan 2001 16:51:26 -0600
I'm not positive, but it looks like you're using javascript in the xsl.  I
believe the 'and' operator is actually 'and', not &&

Keith Brooks
Software Developer
Global eTelecom

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of RUSSO, EDITH
Sent: Friday, January 05, 2001 3:58 PM
To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
Subject: [xsl] xsl:when - comparing parameter and element values

I can't get the right syntax for the comparison between the two values for
What I want to test is when the 'showcasemgmt' parameter contains the value
"true" and the element 'casemgmtind' contains the value "FALSE".
The second part to my question is...only if this case is NOT satisfied, do I
want to output a <tr>, if I leave the contents of the "when" empty, will
that work?

Thanks - Edith

Here's my xml and xsl:

<?xml version="1.0"?>
<PATHFINDER version="2000">
<Subject>Arbitration Brief - Prepare</Subject>

<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="";
	<xsl:param name="showcasemgmt">true</xsl:param>
	<xsl:template match="/">
	<xsl:template match="PATHFINDER/Task">
			<xsl:when test="$showcasemgmt='true' &&

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread