This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: given @id="1.2.3" .... -1 || +1 to the "3" in @id??
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] given @id="1.2.3" .... -1 || +1 to the "3" in @id??
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Sat, 30 Jun 2001 08:48:40 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Anthony,
You could use tokenize or one of the regExp things available over at
exslt.org.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Anthony E.
>Sent: 29 June 2001 23:28
>To: xsl-list@lists.mulberrytech.com
>Subject: [xsl] given @id="1.2.3" .... -1 || +1 to the "3" in @id??
>
>
>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
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list