MikeyCarter Posted February 17, 2008 Share Posted February 17, 2008 I've been using simplexml_load_string to create xml files. However the asXML() doesn't do any paragraphing. The entire raw XML file is all one line. Which makes it very hard to read when your scanning the files for something. Is there any paragrapher in php to auto format the files? (and I maybe using the paragrapher lingo incorrectly... that's what we called it when using Turing in college.) Link to comment https://forums.phpfreaks.com/topic/91599-paragrapher-for-xml-in-php/ Share on other sites More sharing options...
soycharliente Posted February 18, 2008 Share Posted February 18, 2008 Have you tried using something like \n and \t to format it while writing it? That's the only thing I think I could say on this. Link to comment https://forums.phpfreaks.com/topic/91599-paragrapher-for-xml-in-php/#findComment-469222 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.