This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSL variable...




   Hi,


   I'm asking if it's possible to do something like this in XSL, I'm a
newbie in XSL.
	I had worked a lot with C++, and Delphi, but I'm beginning with script
language like XSL.


in one template I wrote

	<xsl:variable name="wasLeft" select="'0'"/>


In other one

	<xsl:variable name="wasLeft" select="'1'"/>


And further to test, with something like this :


	<xsl:when test="$wasLeft='1'">
		<!-- Doing something here -->
	</xsl:when>


		If anyone had a suggestion. Any help welcome.

								D'Hont Philippe.

_____________________________

The Learning Kernel N.V.

Philippe D'Hont (Mr.)
Software developer

Sint Krispijnstraat 7
8900 Ieper
Belgium
Tel	+32 (0)  57 22 94 65
Fax	+32 (0)  57 23 00 51

"Until a person can say deeply and honestly, "I am what I am today
because of the choices I made yesterday," that person cannot say, "I
choose otherwise."



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]