Re: simplify DOM api
| From: | Andreas Korthaus | Date: | Mon, 06 Mar 2006 23:43:00 +0000 |
| Subject: | Re: simplify DOM api | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231565@lists.php.net to get a copy of this message | ||
Rob Richards wrote:
You can also look at using xmlwriter, when creating serialized trees, that automatically does escaping for you.Hm, AFAIK latest xmlwriter versions provide an OO API. Do you know about any documentation for it? The only code I've seen so far is: http://cvs.php.net/viewcvs.cgi/pecl/xmlwriter/examples/xmlwriter_oo.php?view=markup&rev=1.1.2.2 And that's not too much (but promising) ;-) Or do you know about some more complex examples? Btw. I need to validate my created documents against an XML schema, I doubt this is possible with xmlwriter. Best regards Andreas