<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP XML formatter tool rewrite</title>
	<atom:link href="http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/</link>
	<description>Staying Curious</description>
	<lastBuildDate>Wed, 01 Feb 2012 07:05:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jon</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-1113</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Sun, 16 Oct 2011 17:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-1113</guid>
		<description>I&#039;ve got a fix for the close tag issue. I suspect this works fine on your install, since you are probably using libxml2; since I am using Expat, the tag is not consumed until after the start_element_handler is called, and accordingly the _open value is wrongly set.

I will push my fix to Github in due course.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got a fix for the close tag issue. I suspect this works fine on your install, since you are probably using libxml2; since I am using Expat, the tag is not consumed until after the start_element_handler is called, and accordingly the _open value is wrongly set.</p>
<p>I will push my fix to Github in due course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-1112</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Sun, 16 Oct 2011 12:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-1112</guid>
		<description>Great effort Žilvinas - thank you.

I am finding that it removes comments, which I would like to preserve. Also, it replaces self-closed tags with a manual close - I&#039;d like to respect the choice of the original XML.

I&#039;ll have a hack about to see if I can sort these things out, but do let me know if there&#039;s any known fixes for them :)</description>
		<content:encoded><![CDATA[<p>Great effort Žilvinas &#8211; thank you.</p>
<p>I am finding that it removes comments, which I would like to preserve. Also, it replaces self-closed tags with a manual close &#8211; I&#8217;d like to respect the choice of the original XML.</p>
<p>I&#8217;ll have a hack about to see if I can sort these things out, but do let me know if there&#8217;s any known fixes for them <img src='http://www.thedeveloperday.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy K.</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-923</link>
		<dc:creator>Tommy K.</dc:creator>
		<pubDate>Fri, 26 Nov 2010 11:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-923</guid>
		<description>Yeap, it does what I need beautifully, would you make this available for download?</description>
		<content:encoded><![CDATA[<p>Yeap, it does what I need beautifully, would you make this available for download?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Žilvinas Šaltys</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-922</link>
		<dc:creator>Žilvinas Šaltys</dc:creator>
		<pubDate>Fri, 26 Nov 2010 10:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-922</guid>
		<description>This is actually your lucky day. One of my colleagues recently needed such a tool and I&#039;ve created it for him but never published it. You can find it here: http://www.thedeveloperday.com/tools/beautyXML2/ Let me know if it works ok for you.</description>
		<content:encoded><![CDATA[<p>This is actually your lucky day. One of my colleagues recently needed such a tool and I&#8217;ve created it for him but never published it. You can find it here: <a href="http://www.thedeveloperday.com/tools/beautyXML2/" rel="nofollow">http://www.thedeveloperday.com/tools/beautyXML2/</a> Let me know if it works ok for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy K.</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-921</link>
		<dc:creator>Tommy K.</dc:creator>
		<pubDate>Fri, 26 Nov 2010 10:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-921</guid>
		<description>Excuse me for my *maybe* noob request, but can you make this tool available with a textbox input like the older version (paste the code hit the button and it&#039;s beautifully formatted), I&#039;m working as a front-end developer and sometimes I need to make minor modifications in xsl files which are horribly formatted, and this would be a really big help. 

Much appreciated your work!</description>
		<content:encoded><![CDATA[<p>Excuse me for my *maybe* noob request, but can you make this tool available with a textbox input like the older version (paste the code hit the button and it&#8217;s beautifully formatted), I&#8217;m working as a front-end developer and sometimes I need to make minor modifications in xsl files which are horribly formatted, and this would be a really big help. </p>
<p>Much appreciated your work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric M</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-908</link>
		<dc:creator>Eric M</dc:creator>
		<pubDate>Fri, 19 Nov 2010 13:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-908</guid>
		<description>This is the only thing I&#039;ve seen to do what I needed. Thanks a ton!!! So easy to use too, even for a novice.</description>
		<content:encoded><![CDATA[<p>This is the only thing I&#8217;ve seen to do what I needed. Thanks a ton!!! So easy to use too, even for a novice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Žilvinas Šaltys</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-885</link>
		<dc:creator>Žilvinas Šaltys</dc:creator>
		<pubDate>Thu, 14 Oct 2010 22:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-885</guid>
		<description>You can use it with strings. All you need to do is convert your strings to streams:

$input = fopen(&#039;data://text/plain,&#039; . $input, &#039;r&#039;);
$output = fopen(&quot;php://temp&quot;, &#039;w+&#039;);

$formatter = new XML_Formatter($input, $output);
$formatter-&gt;format();

rewind($output);
$result = htmlspecialchars(stream_get_contents($output), ENT_QUOTES);</description>
		<content:encoded><![CDATA[<p>You can use it with strings. All you need to do is convert your strings to streams:</p>
<p>$input = fopen(&#8216;data://text/plain,&#8217; . $input, &#8216;r&#8217;);<br />
$output = fopen(&#8220;php://temp&#8221;, &#8216;w+&#8217;);</p>
<p>$formatter = new XML_Formatter($input, $output);<br />
$formatter-&gt;format();</p>
<p>rewind($output);<br />
$result = htmlspecialchars(stream_get_contents($output), ENT_QUOTES);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-884</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 14 Oct 2010 21:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-884</guid>
		<description>Shot - this is awesome</description>
		<content:encoded><![CDATA[<p>Shot &#8211; this is awesome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Weavers</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-875</link>
		<dc:creator>Nick Weavers</dc:creator>
		<pubDate>Mon, 04 Oct 2010 22:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-875</guid>
		<description>Very useful, thanks for sharing it. Would be nice to have it work with strings too. I just want to format SOAP headers so passing in a string variable and getting another out would be very convenient.</description>
		<content:encoded><![CDATA[<p>Very useful, thanks for sharing it. Would be nice to have it work with strings too. I just want to format SOAP headers so passing in a string variable and getting another out would be very convenient.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken S</title>
		<link>http://www.thedeveloperday.com/php-xml-formatter-tool-rewrite/comment-page-1/#comment-364</link>
		<dc:creator>Ken S</dc:creator>
		<pubDate>Sat, 27 Feb 2010 13:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=89#comment-364</guid>
		<description>Thanks a TON! I was trying to figure out my XML doc for about 6hrs. After I used your MAGIC rewrite tool, I had it figured out in about 5 mins!!!</description>
		<content:encoded><![CDATA[<p>Thanks a TON! I was trying to figure out my XML doc for about 6hrs. After I used your MAGIC rewrite tool, I had it figured out in about 5 mins!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

