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]
Other format: [Raw text]

Re: Global Variable


aruniima.chakrabarti@iflexsolutions.com wrote:

	Is it possible to have a Global variable kind of concept which can
be set to different values in the program based on conditions & used???
Why not? You can implement any logic in order to compute variable value, e.g.
<xsl:variable name="var">
	<xsl:choose>
		<xsl:when test="A/B > 0">1</xsl:when>
		<xsl:otherwise>0</xsl:otherwise>
	</xsl:choose>
</xsl:variable>


--
Oleg Tkachenko
Multiconn International, Israel


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]