Re: SimpleXML: Moving Forward
| From: | Christian Schneider | Date: | Tue, 13 Jan 2004 16:44:18 +0000 |
| Subject: | Re: SimpleXML: Moving Forward | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7055@lists.php.net to get a copy of this message | ||
Adam Maccabee Trachtenberg wrote:
Don't do that. Use the schema. :)Is that why it's called SimpleXML? ;-) I don't think one should force people to use schemata for now.
Unless, of course, you're not in control over those documents.You can simply wrap it when passing it to SimpleXML, e.g. simplexml_load_string("<mydummytag>$xmldata</mydummytag>"), no? - Chris