note 81106 added to function.dom-domdocument-construct

From: Date: Thu, 14 Feb 2008 10:07:45 +0000
Subject: note 81106 added to function.dom-domdocument-construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-136139@lists.php.net to get a copy of this message
@Jarl Not sure if this is what you meant when you said "The constructor example clearly shows that version and encoding only end up in the XML header", but you can also affect other parameters in the generated XML header, by accessing the DOMDocument's properties, for example: <?php $dom = new DOMDocument('1.0', 'UTF-8'); $dom->xmlStandalone = false; echo $dom->saveXML(); // <?xml version="1.0" encoding="UTF-8" standalone="no"?> ---- Server IP: 87.124.64.96 Probable Submitter: 195.182.4.84 ---- Manual Page -- http://www.php.net/manual/en/function.dom-domdocument-construct.php Edit -- https://master.php.net/note/edit/81106 Del: integrated -- https://master.php.net/note/delete/81106/integrated Del: useless -- https://master.php.net/note/delete/81106/useless Del: bad code -- https://master.php.net/note/delete/81106/bad+code Del: spam -- https://master.php.net/note/delete/81106/spam Del: non-english -- https://master.php.net/note/delete/81106/non-english Del: in docs -- https://master.php.net/note/delete/81106/in+docs Del: other reasons-- https://master.php.net/note/delete/81106 Reject -- https://master.php.net/note/reject/81106 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136139) next »