<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: SimpleXML in Symfony</title>
	<link>http://www.symfonylab.com/simplexml-in-symfony/</link>
	<description>Everything you wanted to know about Symfony framework but did not know who to ask!</description>
	<pubDate>Fri, 08 Aug 2008 20:45:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: bergstorm</title>
		<link>http://www.symfonylab.com/simplexml-in-symfony/#comment-389</link>
		<dc:creator>bergstorm</dc:creator>
		<pubDate>Fri, 09 May 2008 20:54:26 +0000</pubDate>
		<guid>http://www.symfonylab.com/simplexml-in-symfony/#comment-389</guid>
		<description>pas de solution dans l'immédiat. j'ai utilisé asXML() avec une regexp pour retirer les balises !!</description>
		<content:encoded><![CDATA[<p>pas de solution dans l&#8217;immédiat. j&#8217;ai utilisé asXML() avec une regexp pour retirer les balises !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bergstorm</title>
		<link>http://www.symfonylab.com/simplexml-in-symfony/#comment-388</link>
		<dc:creator>bergstorm</dc:creator>
		<pubDate>Fri, 09 May 2008 15:06:16 +0000</pubDate>
		<guid>http://www.symfonylab.com/simplexml-in-symfony/#comment-388</guid>
		<description>Continent is like that :
  continent:
    _attributes:     { phpName: Continent, idMethod: native }
    id:              { type: integer, required: true, primaryKey: true, autoIncrement: true }
    nom:             { type: varchar(50), required: true, index: unique }

And i just do that ($emcompassed com from simplexml)
$continent_nom = $encompassed-&#62;attributes()-&#62;continent;
$continent_id = ContinentPeer::retrieveByNom((string)$continent_nom);</description>
		<content:encoded><![CDATA[<p>Continent is like that :<br />
  continent:<br />
    _attributes:     { phpName: Continent, idMethod: native }<br />
    id:              { type: integer, required: true, primaryKey: true, autoIncrement: true }<br />
    nom:             { type: varchar(50), required: true, index: unique }</p>
<p>And i just do that ($emcompassed com from simplexml)<br />
$continent_nom = $encompassed-&gt;attributes()-&gt;continent;<br />
$continent_id = ContinentPeer::retrieveByNom((string)$continent_nom);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.symfonylab.com/simplexml-in-symfony/#comment-387</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 09 May 2008 14:19:45 +0000</pubDate>
		<guid>http://www.symfonylab.com/simplexml-in-symfony/#comment-387</guid>
		<description>hmm.. hard to say for sure.. what type has "continent"? I read somehow that for BLOB and CLOB type fields must be used getContents() method. maybe that's the reason</description>
		<content:encoded><![CDATA[<p>hmm.. hard to say for sure.. what type has &#8220;continent&#8221;? I read somehow that for BLOB and CLOB type fields must be used getContents() method. maybe that&#8217;s the reason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bergstorm</title>
		<link>http://www.symfonylab.com/simplexml-in-symfony/#comment-386</link>
		<dc:creator>bergstorm</dc:creator>
		<pubDate>Fri, 09 May 2008 14:13:23 +0000</pubDate>
		<guid>http://www.symfonylab.com/simplexml-in-symfony/#comment-386</guid>
		<description>Hi,
i do the same thing that you did but i still have an error :
&lt;i&gt;Catchable fatal error: Object of class Continent could not be converted to string in /home/xxx/apps/factory/modules/alimentation/actions/actions.class.php on line 82&lt;/i&gt;

i can't find any solution.
do you have an idea : php configuration (5.2 version seems to have particular pb with __tostring()) or anything else

thnaks for your help
Benoît</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i do the same thing that you did but i still have an error :<br />
<i>Catchable fatal error: Object of class Continent could not be converted to string in /home/xxx/apps/factory/modules/alimentation/actions/actions.class.php on line 82</i></p>
<p>i can&#8217;t find any solution.<br />
do you have an idea : php configuration (5.2 version seems to have particular pb with __tostring()) or anything else</p>
<p>thnaks for your help<br />
Benoît</p>
]]></content:encoded>
	</item>
</channel>
</rss>
