[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 13:57 2-07-2001, Chris Bayes wrote:
What language is that? You're using extension functions there, but there's no declaration for the regExp namespace prefix, nor any indication of how it's declared. Are you using the Java String class?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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: "Christopher R. Maden" <crism@xxxxxxxxx> Date: Mon, 02 Jul 2001 21:36:56 -0700 |
At 13:57 2-07-2001, Chris Bayes wrote:
Anthony, <xsl:value-of select="regExp:match(., '[0-9]+|\.', 'g')[5]" /> should do it. Or <xsl:value-of select="regExp:match(., '[0-9]+|\.', 'g')[count(regExp:match(., '[0-9]+|\.', 'g'))]" /> for any .00.00.00.00 Or use tokenize str:tokenize(., '.')
What language is that? You're using extension functions there, but there's no declaration for the regExp namespace prefix, nor any indication of how it's declared. Are you using the Java String class?
-Chris -- Christopher R. Maden, XML Consultant DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training <URL: http://crism.maden.org/consulting/ > PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] given @id="1.2.3" .... -1, Chris Bayes | Thread | Re: [xsl] given @id="1.2.3" .... -1, cutlass |
Re: [xsl] given @id="1.2.3" .... -1, Christopher R. Maden | Date | Re: [xsl] given @id="1.2.3" .... -1, cutlass |
Month |
Keywords