Re: ifdefined test for variable

Subject: Re: ifdefined test for variable
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Fri, 6 Aug 1999 10:02:36 -0400
My goal was to add a new feature to a globally included file without having
to touch up every file that called it. My scheme for doing this was to test
in the include file for the presence of a globally defined variable as a
signal to turn on the feature. The included template matched '/'.

I rewrote this as a named template with defaulted parameters. The side
effect of this was that I then needed to add a call to the template in every
file that included it.

Jon Smirl
jonsmirl@xxxxxxxxxxxx



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread