Subject: Re: [xsl] Got a slick XPath expression to convert NEW YORK to New_York? From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 20 Dec 2023 19:05:55 -0000 |
On 20/12/2023 19:59, dvint dvint@xxxxxxxxx wrote:I have twist on this question.
I need to escape multiple characters in a string. Chracters like : [ ] # need to be escaped with a \ in all cases. I think quotes are going to be added to this list. I need a transalate() on steroids.
Can't you use replace('$str:[]#', '[:\[\]#"]', '\\$0')?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Got a slick XPath express, Martin Honnen martin | Thread | Re: [xsl] Got a slick XPath express, Graydon graydon@xxxx |
Re: [xsl] Got a slick XPath express, Martin Honnen martin | Date | Re: [xsl] Got a slick XPath express, Graydon graydon@xxxx |
Month |