Dom and PHP5 question..

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I need to add the following to some XML that I need to send off to a server..

<?xml version="1.0" standalone="no" ?>
<!DOCTYPE graph SYSTEM "graph.dtd">

I know that when I do:  $doc = new DomDocument('1.0');

I get <?xml version="1.0">

How do I add the DOCTYPE using DOM and how so I add the Standalone?


Site Timeline