Are there any resources about the PHP XMLWriter functionality?
Question
The PHP documentation can be found here, but I think it's rather lacking. There are no examples of how to use these functions, and few (if any) of the pages have user comments. So where might I be able to find an explanation (and example code) on how to use these functions to write an XML document?
Solution
I don't know any other resources, but I found the examples in the comments on this page quite helpful.
OTHER TIPS
I'd recommend looking at the DOM functions over the SimpleXML ones - it's much more robust. Not as simple, but definitely has more features.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow