[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: strip leading whitespace for sorting
Joe Barwell wrote:
I've got a problem with nodes that contain leading whitespace that I want to strip, because it's affecting my sorts. Hi people, To answer my own question: I misunderstood. The tool I needed was normalize-space(), i.e.: ... <xsl:for-each select="NewDataSet/Table"> <xsl:sort select="normalize-space(Currency)" order="ascending" /> <xsl:sort select="normalize-space(Name)" order="ascending" /> ... Sorry for wasting people's bandwidth. Cheers! Joe
|
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
|