Subject: RE: [xsl] regexp? or find # of "."s in string From: "Anthony E." <apwebdesign@xxxxxxxxx> Date: Mon, 21 May 2001 14:43:49 -0700 (PDT) |
worked like a charm! Thanks. by the way, are you the Mike Kay mentioned in XSLT Programmer's Reference examples on p. 433? --- Michael Kay <mhkay@xxxxxxxxxxxx> wrote: > Try: > > string-length($x) - string-length(translate($x, '.', > '')) > > Mike Kay > Software AG > > > > > If I can somehow count the number of periods "." > in > > the string "id", then I can determine what level > the > > <tab> element is at...anyone have any ideas how to > > count the number of occurences in a string with > XSL? > > > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] regexp? or find # of "."s, Michael Kay | Thread | RE: [xsl] regexp? or find # of "."s, Wendell Piez |
[xsl] ignore DOCTYPE, Jih, Felix | Date | Re: [xsl] ignore DOCTYPE, Goetz Bock |
Month |