
|
Home > Code snippets > PHP > Strings > Remove Invalid XML Characters Remove Invalid XML CharactersCreated by ltp, last update on 26/02/2008 17:30 When you are writing out an XML document there are certain characters that are not allowed in the document. If these characters exist, you will be unable to parse the document as per the XML specification.What this function will do is take a string, remove the invalid characters and then return the string back to you to insert into an XML document.
DependenciesNo special requirements are needed by this snippet
By logging in you will be able to:
|
||||||||||||
|
PHPEdit User Community, © 2008 WaterProof SARL
|
||||||||||||