RE: [xsl] Variable scope

Subject: RE: [xsl] Variable scope
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Tue, 17 May 2005 01:03:49 +0000
Looks OK, except for the assumedly fast-and-loose pseudo syntax. Try printing out $min in template1, just before calling template2, to see what's passed; do it with $min-column in template2 to see what's passed in.

<xsl:if test="min-column"> ...do something ... [min-column becomes 0 here]
</xsl:if>

I assume you actually do test="$min-column some test"; note the "$"


Regards,

--A

_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Current Thread