note 75086 added to function.simplexml-element-asXML

From: Date: Fri, 11 May 2007 15:21:09 +0000
Subject: note 75086 added to function.simplexml-element-asXML
Groups: php.notes 
Request: Send a blank email to php-notes+get-126413@lists.php.net to get a copy of this message
Just a note to add onto the previous note: if your xml has already got a "\n" (new line) straight after the opening root tag, then the layout of the rest of the saveXML() will all be on one line, regardless of if you've set formatOutput to true. it's taken me about an hour to figure this out, and i hope this helps someone. ---- Server IP: 203.16.234.19 Probable Submitter: 202.139.23.71 ---- Manual Page -- http://www.php.net/manual/en/function.simplexml-element-asXML.php Edit -- https://master.php.net/note/edit/75086 Del: integrated -- https://master.php.net/note/delete/75086/integrated Del: useless -- https://master.php.net/note/delete/75086/useless Del: bad code -- https://master.php.net/note/delete/75086/bad+code Del: spam -- https://master.php.net/note/delete/75086/spam Del: non-english -- https://master.php.net/note/delete/75086/non-english Del: in docs -- https://master.php.net/note/delete/75086/in+docs Del: other reasons-- https://master.php.net/note/delete/75086 Reject -- https://master.php.net/note/reject/75086 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126413) next »