|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Splitting non-delimited string
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
|
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
|

Cart








