[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problem with Output special char in HTML attribute

Subject: Re: Problem with Output special char in HTML attribute
From: Fabio Cuomo <fabio.cuomo@xxxxxxxxx>
Date: Wed, 8 Dec 2004 15:05:39 +0100
fabio cuomo
Thanks at all for you interesting...I'm verry happy for this
I use php as language that is not an XML-friendly language then i
can't use it inside xml page without invalidate my document..then i
think to use jeni-solution or rather to solve my problem using XSLT..
Particularly given a variable

<xsl:variable name="tabindex" select="number(0)"/>

i would want to increment it. I have read the xsl:variable tag spec
and it works like a constant in other programming language, or rather
given a value it is not possible to modify it. Then it seems that
there's a problem to realize increment of a variable in XSLT.

I could use this workaround:

<xsl:variable name="tabindex"><xsl:value-of
select="$tabindex+1"/></xsl:variable>
<xsl:value-of select="$tabindex"/> 

but i want to increment my variable more than one time, then i should
use for each increment. More there are scoping variable problems to
consider too.

Please help me,
Any kind of help is granted.
regards,
Mulp.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.