Re: replace lower to upper
I am using the replace function, I would like to get value of the attribute to be all caps and changed. There still is a lowercase 'b' in the results. How should I change things to get it right.
If you want all upper case letters can't you simply do
<xsl:value-of select="upper-case(replace( .,'RQ4-(.)-','RQ4N-A$1-','i'))"/>
? Or could there be lower case letters in the attribute value you don't want to change to upper case?
Martin Honnen http://msmvps.com/blogs/martin_honnen/
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