Posted by Ken on 09/28/66 11:22
I wrote a simple php script that generates an XML file based on a DB
query. The problem is that some of the db entries may contain tabs,
gt/lt signs, and other XML-unfriendly characters.
Is there a stock function for replacing these with their proper XML
escape sequences? I suppose I could do it with regex, but it seems this
would be so common that it's silly to write it over again.
Navigation:
[Reply to this message]
|