Re: [xsl] given @id="1.2.3" .... -1 || +1 to the "3" in @id??

Subject: Re: [xsl] given @id="1.2.3" .... -1 || +1 to the "3" in @id??
From: "Anthony E." <apwebdesign@xxxxxxxxx>
Date: Fri, 29 Jun 2001 15:41:35 -0700 (PDT)
...in other words, i want to add or subtract '1' from
the substring after the last '.' in $x = '1.2.3.4'.

--- "Anthony E." <apwebdesign@xxxxxxxxx> wrote:
> given @id="1.2.3", how do I add or subtract 1 from
> the
> '.3' in the string "1.2.3" in a stylesheet?
> 
> I need to create "prev | next" links generated from
> the current @id number for a file. ie - 'prev' link
> would be equal to '1.2.2', and 'next' link would be
> equal to '1.2.4'
> 
> 
> 
> =====
> --
> Anthony E.
> AP Web Design
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread