|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: variables in XSLT
> Hi all, > 1) Is there any concept of incrementing variables in XSLT. I > am calling one template from other template. So i need to > pass a variable and need to "Increment" the vaiable. I know > there is concept of variables, but is there some way to > increment the variables. No, there is no concept of incrementing variables. But of course when you pass a parameter, you can set the value: <xsl:call-template name="xxx"> <xsl:with-param name="p" select="$p+1"/> </xsl:call-template> You need to explain in more detail what you want to achieve. > 2) I am using a xslt processor, 'xt' (by james clark) and it > doesnt seem to like >= or <= operators. It does not give me > any errors but when i apply my stylesheet to the XML file > using xt, it doesnt seem to process these operators. Am i > doing something wrong??. Firstly you may need to escape < and > as < and >. But I would expect you to get an error if you didn't do that. Secondly, you are doing something wrong, but I don't know what without seeing your code. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx 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








