Subject: Re: [xsl] replace lower to upper From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Mon, 07 Sep 2009 18:47:55 +0200 |
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.
Source:
<graphic boardno="rq4-b-271101-520-0002">
Transform: <xsl:value-of select="replace( .,'RQ4-(.)-','RQ4N-A$1-','i')"/>
Bad Results: <graphic boardno="RQ4N-Ab-271101-520-0002"/>
Desired Results: <graphic boardno="RQ4N-AB-271101-520-0002"/>
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] replace lower to upper, Douglas Wade | Thread | Re: [xsl] replace lower to upper, Douglas Wade |
[xsl] replace lower to upper, Douglas Wade | Date | Re: [xsl] replace lower to upper, Douglas Wade |
Month |