Re: Converting user input for XML-validation

From: Date: Fri, 16 Nov 2007 10:24:46 +0000
Subject: Re: Converting user input for XML-validation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264680@lists.php.net to get a copy of this message
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

« previous php.general (#264680) next »