[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: What is the equivalent
Andreas, Thanks for the help, using Michael's solution.. Thanks. Kotes -----Original Message----- From: Andreas L. Delmelle [mailto:a_l.delmelle@xxxxxxxxxx] Sent: Monday, March 22, 2004 2:36 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: What is the equivalent > -----Original Message----- > From: Kotes Mogili [mailto:Kotes.Mogili@xxxxxxxxxxxxxxxxx] > > > Hi, > > What is the equivalent of the following logic in XSL1.0. > > PhoneNumber=(678)898-4274 > for (int i = 0; i < phoneNumber.length(); i++) { > if (Character.isDigit(phoneNumber.charAt(i))) out > = out + phoneNumber.charAt(i); > } > Hi, Something like: <xsl:value-of select="translate(PhoneNumber,'()-','')" /> Hope this helps! Cheers, Andreas
|
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
|