Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Simple XSLT questions. >Thread Next - Re: Simple XSLT questions. Re: Simple XSLT questions.To: NULL Date: 5/10/2007 8:06:00 AM Pavel Lepin wrote: > Richard Tobin <richard@c...> wrote in >> Ok, here's a disgusting hack: >> string-length(.)-string-length(translate(., ',', '')) > > Looks elegant and not at all disgusting to me. Better than > coding a D&C named template to do something this trivial, > anyway. I agree; that's a good solution to the comma-counting problem. (Cue the music: "Comma, comma, comma, Camellia; you come and go..." Though I have to admit I spent years wondering what a "karma chameleon" was.) -- () ASCII Ribbon Campaign | Joe Kesselman /\ Stamp out HTML e-mail! | System architexture and kinetic poetry | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
