Sanitizing DB inputs with XSLT
- by azathoth
Hello
I've been looking for a method to strip my XML content of apostrophes (') like:
<name> Jim O'Connor</name>
since my DBMS is complaining of receiving those.
By looking at the example described here, that is supposed to replace ' with '', I constructed the following script:
<xsl:stylesheet version="1.0"…