XMLwriter & openURI

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
oleg
Forum Newbie
Posts: 6
Joined: Thu Aug 28, 2008 2:51 am

XMLwriter & openURI

Post by oleg »

Im trying to create an XML with XMLWriter, but I write

$doc = new XMLWriter();
$doc->openURI($file);
$doc->startDocument("1.0");
...

and doesnt do anything, I dont know if the sentence should go here or at the end, or if I have to do something else.
Post Reply