xsl-list
[Top] [All Lists]

RE: Variable scope

2005-05-16 18:03:49
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

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>