...or simply split the string: $xml = '<?xml version="1.0" encoding="ISO-8859-1"?[color=#CC0000]'.'[/color]>';
(and the culprit is the not the opening '<?' but the closing '?>') -- <http://forum.pspad.com/read.php?2,48145,48147> PSPad freeware editor http://www.pspad.com
