This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: A counter inside a for-each?
- To: xsl-list at mulberrytech dot com
- Subject: RE: A counter inside a for-each?
- From: Charlie Cox <xmldev at yahoo dot com>
- Date: Fri, 24 Mar 2000 04:54:09 -0800 (PST)
- Reply-To: xsl-list at mulberrytech dot com
I did notice that Stylus 1.0 does not enforce this
rule, thus allowing values to be changed. I found the
truth as I moved my code to Xalan. I have not yet
tried it with Stylus 2.0
Charlie
--- Kay Michael <Michael.Kay@icl.com> wrote:
> You can't update variables in XSLT. The two
> declarations of conta14 are
> declaring two different variables, one local and one
> global.
>
> In this case it's easy to solve your problem without
> variables. Just write
> <xsl:if test="position()!=1">
>
> Mike Kay
>
> > I want to write a "/" only if itīs not the first
> ocurrence
> > of the Field.
>
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list