[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: strange problem with string-replace
> But when I wand to remove > all (line feed) or   (space) line endings are normalised to 10 not 13, and since this is working at the level of single characters you can use translate() rather than string-replace. <xsl:template match="a"> <xsl:value-of select="translate(.,' ','')"/> </xsl:template> </xsl:stylesheet> converts <a> 1 2 3 4 5 6 </a> to 123456 David 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
|