tags:

views:

1263

answers:

3

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?

+1  A: 

I don't know any other resources, but I found the examples in the comments on this page quite helpful.

wds
A: 

Have you tried SimpleXML instead? That's what I've been using, and it's pretty straightforward.

http://us.php.net/manual/en/book.simplexml.php

Rich Bradshaw
+1  A: 

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.

nickf