|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Redefinition of a variable
As a newbie, I was thinking that xsl:variables are real variables. They're not (well, technically, they might be variables but that's not what most users would call a variable but a constant). Inside an xsl, I am now using redefinitions of variables and the processor I'm using (IBM LotusXSL 1.0.1) allows me to do that. What I'm doing is to use ... <xsl:variable name="temp" select="'somestring'"/> ... <xsl:variable name="temp" select="'someotherstring'"/> ... The code is way more complicated than this but you get the idea. Now, I have the following question: Is what I'm doing "legal"? Or is it another bug in LotusXSL (LotusXSL allows me to do something like <xsl:variable name="temp" select="$temp + 1"/> where temp is a number). I know re-defining constants is not what one is supposed to to using recursive programming but when you have to write a complicated xsl which itself writes a complicated xsl then sometimes you don't really care about your principles... ;-) Joerg _________________________ Dr Joerg M Colberg Econovo Software, Inc joerg.colberg@xxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








