Re: [PHP-DEV] PATCH: SimpleXML asXML()

2004-01-19 Thread Sterling Hughes
Change committed - thanks. -Sterling > SimpleXML's asXML() method always returns the entire document > regardless of the node. I believe (Sterling?) we decided the correct > behavior here is to only return the XML data for the current node and > its children. > > A patch to fix the behavior is a

[PHP-DEV] PATCH: SimpleXML asXML()

2004-01-19 Thread Adam Maccabee Trachtenberg
SimpleXML's asXML() method always returns the entire document regardless of the node. I believe (Sterling?) we decided the correct behavior here is to only return the XML data for the current node and its children. A patch to fix the behavior is available here: http://www.trachtenberg.com/patches