<?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 and Web Services</title>
	<atom:link href="http://unfoldingtheweb.com/2007/05/20/php-and-web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://unfoldingtheweb.com/2007/05/20/php-and-web-services/</link>
	<description>A new way of using the web</description>
	<lastBuildDate>Mon, 11 Apr 2011 16:00:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: André Luís</title>
		<link>http://unfoldingtheweb.com/2007/05/20/php-and-web-services/comment-page-1/#comment-789</link>
		<dc:creator>André Luís</dc:creator>
		<pubDate>Mon, 21 May 2007 23:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://unfoldingtheweb.com/2007/05/20/php-and-web-services/#comment-789</guid>
		<description>Thanks for clearing that up. I guess I can see what you mean. Furthermore, the DOM also allows a non-sequencial creation of the document. We can jump up and down the tree, insert, cut, etc. In some cases that might really come in handy...</description>
		<content:encoded><![CDATA[<p>Thanks for clearing that up. I guess I can see what you mean. Furthermore, the DOM also allows a non-sequencial creation of the document. We can jump up and down the tree, insert, cut, etc. In some cases that might really come in handy&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Pedro</title>
		<link>http://unfoldingtheweb.com/2007/05/20/php-and-web-services/comment-page-1/#comment-788</link>
		<dc:creator>Bruno Pedro</dc:creator>
		<pubDate>Mon, 21 May 2007 18:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://unfoldingtheweb.com/2007/05/20/php-and-web-services/#comment-788</guid>
		<description>André: thanks for your comment. Great question too!

I&#039;m quoting two articles on this subject.

&quot;The real value of using the DOM is that the XML it creates is always well formed.&quot; (Herrington, J., &quot;Reading and writing the XML DOM with PHP&quot;, http://tinyurl.com/26lenm)

&quot;With the W3C DOM, content authors can:

- Move one part of the document tree to another without destroying and re-creating the content.

- Create elements and attach them to any point in the document tree.

- Organize and manipulate new or existing tree branches in a document fragment before inserting the objects back into the tree. 

The ability to move a part of the document tree without destroying and re-creating the content reduces the size of script and is more efficient.&quot; (&quot;About the W3C Document Object Model&quot;, MSDN Library, http://tinyurl.com/2erczp)

So, basically, it should be easier to manipulate XML by using DOM than directly.</description>
		<content:encoded><![CDATA[<p>André: thanks for your comment. Great question too!</p>
<p>I&#8217;m quoting two articles on this subject.</p>
<p>&#8220;The real value of using the DOM is that the XML it creates is always well formed.&#8221; (Herrington, J., &#8220;Reading and writing the XML DOM with PHP&#8221;, <a href="http://tinyurl.com/26lenm" rel="nofollow">http://tinyurl.com/26lenm</a>)</p>
<p>&#8220;With the W3C DOM, content authors can:</p>
<p>- Move one part of the document tree to another without destroying and re-creating the content.</p>
<p>- Create elements and attach them to any point in the document tree.</p>
<p>- Organize and manipulate new or existing tree branches in a document fragment before inserting the objects back into the tree. </p>
<p>The ability to move a part of the document tree without destroying and re-creating the content reduces the size of script and is more efficient.&#8221; (&#8220;About the W3C Document Object Model&#8221;, MSDN Library, <a href="http://tinyurl.com/2erczp" rel="nofollow">http://tinyurl.com/2erczp</a>)</p>
<p>So, basically, it should be easier to manipulate XML by using DOM than directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: André Luís</title>
		<link>http://unfoldingtheweb.com/2007/05/20/php-and-web-services/comment-page-1/#comment-787</link>
		<dc:creator>André Luís</dc:creator>
		<pubDate>Mon, 21 May 2007 17:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://unfoldingtheweb.com/2007/05/20/php-and-web-services/#comment-787</guid>
		<description>Congratulations, that was great. A straight to the point presentation on php+webservices. Nicely done.

A question though... What&#039;s the biggest advantage of using DOM to generate an XML response instead of simply echo-ing it to the browser?</description>
		<content:encoded><![CDATA[<p>Congratulations, that was great. A straight to the point presentation on php+webservices. Nicely done.</p>
<p>A question though&#8230; What&#8217;s the biggest advantage of using DOM to generate an XML response instead of simply echo-ing it to the browser?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

