Subject: RE: [xsl] Splitting non-delimited string From: "Denny, Allison M. (LNG-CIS)" <allison.denny@xxxxxxxxxxxxxx> Date: Fri, 28 Dec 2001 14:12:47 -0500 |
Thank you to David and Trevor! Translate was the key. Here's what I ended up with: <xsl:element name="TEXT-PORTION"> <xsl:variable name="text" select="translate (., '0123456789', '')"/> <xsl:value-of select="$text"/> </xsl:element> <xsl:element name="NUMBER-PORTION"> <xsl:variable name="number" select="translate (., 'abcdefghijklmnopqrstuvwxyz', '')"/> <xsl:value-of select="$number"/> </xsl:element> Allison Denny Data Analyst 4520 East-West Highway Bethesda, MD 20814 LexisNexis It's how you know XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Splitting non-delimited s, Michael Kay | Thread | [xsl] Re: Functional trim(), Dimitre Novatchev |
Re: [xsl] Re: Assignment no, dynami, Mike Haarman | Date | [xsl] Literal string question, Mike Ferrando |
Month |