|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
xsl - how to escape single quotes
I have created an xsl file to transform some xml into sql insert statements, that works fine if the data doesn't have any single quotes in it. In order to escape single quotes I need to double them up.
Translate looked promising but it only does character by character substitutions, I need to replace a single char with multiple chars. thanks |
|
#2
|
|||
|
|||
|
Sounds simple but it isn't! Fortunately someone has written a funky recursive template that uses substrings
http://www.biglist.com/lists/xsl-li...8/msg01550.html |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > xsl - how to escape single quotes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|