Re: [PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Michael McGlothlin
Ralph Kutschera wrote: Ralph Kutschera wrote: Is there a standard function in PHP to convert any string for usage with XML? In the example the string should become "< thats a bracket". I found htmlspecialchars() now. But the question that remains: Is that sufficient for XML? The only c

[PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
Thanks a lot for your answers! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
Ralph Kutschera wrote: > Is there a standard function in PHP to convert any string for usage with > XML? In the example the string should become "< thats a bracket". I found htmlspecialchars() now. But the question that remains: Is that sufficient for XML? regards, Ralph -- PHP General Mailin