[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: regexp? or find # of "."s in string
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|