[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to declare a int variable in XSL
Please address XSLT questions to more related forums such as [1]. Using plain text instead of html as the message format is a good idea ;-) Variables in XSLT are finals once initialized for each template or xsl:for-each iteration (or for every iteration if they are declared globally). You need to solve this using Xpath. For example, if your for-each matches FOO elements, the match expression should be something like <xsl:for-each select="FOO[position() >1]"> Where > denotes > [1] http://www.mulberrytech.com/xsl/xsl-list/ Hth, Manos -----Original Message----- From: Mohamed Raffi [mailto:mohamedr@h...] Sent: Friday, June 07, 2002 12:31 PM To: xml-dev@l... Subject: How to declare a int variable in XSL Hi, Do anyone know how to declare a int variable in XSL. say i want to put some delimeter for each iteration in <xsl:for-each> except the first iteration. how can i do that? please let me know. Thanks in advance. Raffi
|
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
|