<?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: Snapshot: leyendo archivos XML en C++ con TinyXML</title>
	<atom:link href="http://www.machin.com.mx/archives/1383/feed" rel="self" type="application/rss+xml" />
	<link>http://www.machin.com.mx/archives/1383</link>
	<description>Sólo para recordar</description>
	<lastBuildDate>Sat, 04 Sep 2010 22:01:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jorge Machin</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1107</link>
		<dc:creator>Jorge Machin</dc:creator>
		<pubDate>Fri, 11 Jun 2010 19:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1107</guid>
		<description>Olman, mi correo es jorge_machin@yahoo.com

Saludos</description>
		<content:encoded><![CDATA[<p>Olman, mi correo es <a href="mailto:jorge_machin@yahoo.com">jorge_machin@yahoo.com</a></p>
<p>Saludos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olman</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1106</link>
		<dc:creator>Olman</dc:creator>
		<pubDate>Fri, 11 Jun 2010 18:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1106</guid>
		<description>escribirle sera muy complicado tengo un codigo que he trabajado pero igual solo crea un registro y yo necesito que sea n registros</description>
		<content:encoded><![CDATA[<p>escribirle sera muy complicado tengo un codigo que he trabajado pero igual solo crea un registro y yo necesito que sea n registros</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olman</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1105</link>
		<dc:creator>Olman</dc:creator>
		<pubDate>Fri, 11 Jun 2010 18:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1105</guid>
		<description>funciona de maravilla muchas gracias...</description>
		<content:encoded><![CDATA[<p>funciona de maravilla muchas gracias&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olman</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1104</link>
		<dc:creator>Olman</dc:creator>
		<pubDate>Fri, 11 Jun 2010 14:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1104</guid>
		<description>voy a probar gracias por tu ayuda y atencion te aviso</description>
		<content:encoded><![CDATA[<p>voy a probar gracias por tu ayuda y atencion te aviso</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge Machin</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1103</link>
		<dc:creator>Jorge Machin</dc:creator>
		<pubDate>Fri, 11 Jun 2010 00:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1103</guid>
		<description>Olman:

Para iterar sobre el XML, necesitas usar la función NextSiblingElement ya sea pasandole el nombre del elemento que te interesa o sin parametros si quieres el que sigue en el nivel. 

TiXmlElement *element;

element = doc.FirstChildElement( &quot;ELEMENT&quot; );

do {
     :
     :
  element = element-&gt;NextSiblingElement( &quot;ELEMENT&quot; ); // o &quot;NEXT_ELEMENT&quot;

    ó

  element = element-&gt;NextSiblingElement(); 


} while ( element );</description>
		<content:encoded><![CDATA[<p>Olman:</p>
<p>Para iterar sobre el XML, necesitas usar la función NextSiblingElement ya sea pasandole el nombre del elemento que te interesa o sin parametros si quieres el que sigue en el nivel. </p>
<p>TiXmlElement *element;</p>
<p>element = doc.FirstChildElement( &#8220;ELEMENT&#8221; );</p>
<p>do {<br />
     :<br />
     :<br />
  element = element->NextSiblingElement( &#8220;ELEMENT&#8221; ); // o &#8220;NEXT_ELEMENT&#8221;</p>
<p>    ó</p>
<p>  element = element->NextSiblingElement(); </p>
<p>} while ( element );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olman</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1099</link>
		<dc:creator>Olman</dc:creator>
		<pubDate>Thu, 10 Jun 2010 22:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1099</guid>
		<description>Esta bueno el ejemplo pero este lee un nodo como haria para leer el segundo o n cantidad de nodos de un xml. 

de eso se trata el proyecto que me pusieron me veo forzado a usar tinyxml por que el proyecto hay que desarrollarlo en c++ con dev c++ estrictamente y ese programa para este tipo de aplicaciones no es muy amigable

Necesito leer insertar en un archivo xml</description>
		<content:encoded><![CDATA[<p>Esta bueno el ejemplo pero este lee un nodo como haria para leer el segundo o n cantidad de nodos de un xml. </p>
<p>de eso se trata el proyecto que me pusieron me veo forzado a usar tinyxml por que el proyecto hay que desarrollarlo en c++ con dev c++ estrictamente y ese programa para este tipo de aplicaciones no es muy amigable</p>
<p>Necesito leer insertar en un archivo xml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge Machin</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1098</link>
		<dc:creator>Jorge Machin</dc:creator>
		<pubDate>Thu, 10 Jun 2010 17:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1098</guid>
		<description>Olman:

Se me fue accidentalmente una i en la declaración de child_value. Seguramente fue en alguna edición de este post.

Muchas gracias por hacermelo notar. Ya está corregido.</description>
		<content:encoded><![CDATA[<p>Olman:</p>
<p>Se me fue accidentalmente una i en la declaración de child_value. Seguramente fue en alguna edición de este post.</p>
<p>Muchas gracias por hacermelo notar. Ya está corregido.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olman</title>
		<link>http://www.machin.com.mx/archives/1383/comment-page-1#comment-1096</link>
		<dc:creator>Olman</dc:creator>
		<pubDate>Thu, 10 Jun 2010 15:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.machin.com.mx/?p=1383#comment-1096</guid>
		<description>Me da error en esta linea :
child_value = string( ( ( child-&gt;FirstChild() )-&gt;ToText() )-&gt;Value() );

dice ke child_value no ha sido declarado.....Si pudieras ayudarme te lo agradeceria por que hasta ahora consigo un ejm sencillo por que nunca antes habia trabajado con xml ni conocia esta libreria TinyXML Gracias de antemano</description>
		<content:encoded><![CDATA[<p>Me da error en esta linea :<br />
child_value = string( ( ( child-&gt;FirstChild() )-&gt;ToText() )-&gt;Value() );</p>
<p>dice ke child_value no ha sido declarado&#8230;..Si pudieras ayudarme te lo agradeceria por que hasta ahora consigo un ejm sencillo por que nunca antes habia trabajado con xml ni conocia esta libreria TinyXML Gracias de antemano</p>
]]></content:encoded>
	</item>
</channel>
</rss>
