Re: [xsl] Variables

Subject: Re: [xsl] Variables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 12 Feb 2003 15:35:54 GMT
  How can i perform the following operation in xslt.

  <xsl:if test=@steve != 0>
	x= x + 1

  where x is a variable.

if x = x + 1 then 0 = 1 and the world would be inconsistent.
this would be bad, so XSLT, like other declarative programing languages
doesn't let you change the value of a variable once it is bound.

This is a FAQ.

If you said what you were trying to generate rather than which illegal
operation you were trying to peform, someone could offer some further


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

 XSL-List info and archive:

Current Thread