<?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: Add Children with SimpleXML</title>
	<atom:link href="http://benramsey.com/archives/add-children-with-simplexml/feed/" rel="self" type="application/rss+xml" />
	<link>http://benramsey.com/archives/add-children-with-simplexml/</link>
	<description>PHP and Other Techno-babble</description>
	<lastBuildDate>Mon, 01 Feb 2010 11:59:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve (noob)</title>
		<link>http://benramsey.com/archives/add-children-with-simplexml/comment-page-1/#comment-3795</link>
		<dc:creator>Steve (noob)</dc:creator>
		<pubDate>Tue, 30 May 2006 14:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/?p=145#comment-3795</guid>
		<description>Please, im a very new to php and xml:
if i have books.xml that contains:

    
    


how do i use this code to add a book? everything i tried errored.
Could you please email me an example? thank you very much in advance, i am very grateful!</description>
		<content:encoded><![CDATA[<p>Please, im a very new to php and xml:<br />
if i have books.xml that contains:</p>
<p>how do i use this code to add a book? everything i tried errored.<br />
Could you please email me an example? thank you very much in advance, i am very grateful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SteamSHIFT</title>
		<link>http://benramsey.com/archives/add-children-with-simplexml/comment-page-1/#comment-3668</link>
		<dc:creator>SteamSHIFT</dc:creator>
		<pubDate>Fri, 12 May 2006 11:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/?p=145#comment-3668</guid>
		<description>NB: It&#039;s worth re-iterating this requires at least PHP version 5.1.3</description>
		<content:encoded><![CDATA[<p>NB: It&#8217;s worth re-iterating this requires at least PHP version 5.1.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SteamSHIFT</title>
		<link>http://benramsey.com/archives/add-children-with-simplexml/comment-page-1/#comment-3667</link>
		<dc:creator>SteamSHIFT</dc:creator>
		<pubDate>Fri, 12 May 2006 10:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/?p=145#comment-3667</guid>
		<description>If only I had seen this a mere week ago!!! After some considerable work, I have managed to do this in the DOM - but it is such hard work. Many Many Thanks for this.</description>
		<content:encoded><![CDATA[<p>If only I had seen this a mere week ago!!! After some considerable work, I have managed to do this in the DOM &#8211; but it is such hard work. Many Many Thanks for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Ramsey</title>
		<link>http://benramsey.com/archives/add-children-with-simplexml/comment-page-1/#comment-3649</link>
		<dc:creator>Ben Ramsey</dc:creator>
		<pubDate>Thu, 11 May 2006 14:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/?p=145#comment-3649</guid>
		<description>Thanks for the clarification on that, Adam. I think my problem was that I wasn&#039;t using a proper XPath query, so the function wasn&#039;t doing anything for me.</description>
		<content:encoded><![CDATA[<p>Thanks for the clarification on that, Adam. I think my problem was that I wasn&#8217;t using a proper XPath query, so the function wasn&#8217;t doing anything for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Trachtenberg</title>
		<link>http://benramsey.com/archives/add-children-with-simplexml/comment-page-1/#comment-3647</link>
		<dc:creator>Adam Trachtenberg</dc:creator>
		<pubDate>Thu, 11 May 2006 14:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/?p=145#comment-3647</guid>
		<description>The registerXPathNamespace() function allows you to associate a prefix with an XML Namespace URI. A prefix is necessary to make XPath queries against elements that live under a namespace. (e.g. &quot;//xhtml:p&quot; to find all &quot;p&quot; elements in the namespace bound to the &quot;xhtml&quot; prefix.)

Use this function when needing to access namespaced elements under a default namespace to create a prefix for that namespace. It&#039;s also helpful when you cannot control the XML document you&#039;re consuming and the provider may alter namespace prefixes without warning.</description>
		<content:encoded><![CDATA[<p>The registerXPathNamespace() function allows you to associate a prefix with an XML Namespace URI. A prefix is necessary to make XPath queries against elements that live under a namespace. (e.g. &#8221;//xhtml:p&#8221; to find all &#8220;p&#8221; elements in the namespace bound to the &#8220;xhtml&#8221; prefix.)</p>
<p>Use this function when needing to access namespaced elements under a default namespace to create a prefix for that namespace. It&#8217;s also helpful when you cannot control the XML document you&#8217;re consuming and the provider may alter namespace prefixes without warning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert K</title>
		<link>http://benramsey.com/archives/add-children-with-simplexml/comment-page-1/#comment-3640</link>
		<dc:creator>Robert K</dc:creator>
		<pubDate>Thu, 11 May 2006 05:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://benramsey.com/?p=145#comment-3640</guid>
		<description>fuckin A man! that&#039;s awesome!</description>
		<content:encoded><![CDATA[<p>fuckin A man! that&#8217;s awesome!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
