Subject: RE: [xsl] What is the equivalent From: "Kotes Mogili" <Kotes.Mogili@xxxxxxxxxxxxxxxxx> Date: Mon, 22 Mar 2004 14:54:40 -0500 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] What is the equivalent, Kotes Mogili | Thread | RE: [xsl] What is the equivalent, Kotes Mogili |
RE: [xsl] What is the equivalent, Kotes Mogili | Date | RE: [xsl] What is the equivalent, Kotes Mogili |
Month |