I need to find and and replace double quotes, I have tried
<sx:findAndReplace searchFor="""" replaceWith=""" />
<sx:findAndReplace searchFor='"' replaceWith=""" />
<sx:findAndReplace searchFor='\"' replaceWith=""" />
This would be amazing if you knew how to do this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-02-09
I have been reading more and I am still stuck. Right now I cant get findAndReplace to work at all. First can I use find and replace inside a fieldElementMap, or does it have to be a elementMap? Second I am just trying to replace something simple and it still doesn't work.
<sx:elementMap element="{userdept}">
<sx:findAndReplace searchFor="8021" replaceWith=""" useRegex="false" >
<sx:toString value="{userdept}"/>
</sx:findAndReplace>
</sx:elementMap>
will this work? because its not working for me.
<sx:fieldElementMap field="userdept" element="userdept">
<sx:findAndReplace searchFor="8021" replaceWith=""" useRegex="false" >
<sx:toString value="{userdept}"/>
</sx:findAndReplace>
</sx:fieldElementMap>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to find and and replace double quotes, I have tried
<sx:findAndReplace searchFor="""" replaceWith=""" />
<sx:findAndReplace searchFor='"' replaceWith=""" />
<sx:findAndReplace searchFor='\"' replaceWith=""" />
This would be amazing if you knew how to do this.
I have been reading more and I am still stuck. Right now I cant get findAndReplace to work at all. First can I use find and replace inside a fieldElementMap, or does it have to be a elementMap? Second I am just trying to replace something simple and it still doesn't work.
<sx:elementMap element="{userdept}">
<sx:findAndReplace searchFor="8021" replaceWith=""" useRegex="false" >
<sx:toString value="{userdept}"/>
</sx:findAndReplace>
</sx:elementMap>
will this work? because its not working for me.
<sx:fieldElementMap field="userdept" element="userdept">
<sx:findAndReplace searchFor="8021" replaceWith=""" useRegex="false" >
<sx:toString value="{userdept}"/>
</sx:findAndReplace>
</sx:fieldElementMap>