I'm creating some XML data, but not using any of the built-in PHP XML functions, as they are not necessarily available on all servers. I need to encode Data (CDATA) such as URLs etc. htmlspecialchars() works on all my test cases so far, but is it "right"?... Please cc: me on replies -- I'm way behind on PHP General reading... :-( -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php