<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[XML mit C++]]></title><description><![CDATA[<p>Hi,</p>
<p>ich schreibe gerade meine Dipl. Arbeit mit Visual C++. Nun muss ich für eine bestimmte Funktionalität XML Dateien schreiben und wieder auslesen.</p>
<p>Gibt es bestimmte APIs die sich dafür gut eignen? Eigentlich reicht es, wenn die API relativ einfach ist, ich muss für mehrere Objekte nur sowas in der Art schreiben:</p>
<p>&lt;Objekt&gt;<br />
&lt;ID=...&gt;<br />
&lt;X=...&gt;<br />
&lt;Y=...&gt;<br />
&lt;Z=...&gt;<br />
&lt;/Objekt&gt;</p>
<p>Gruß<br />
Alex</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/226167/xml-mit-c</link><generator>RSS for Node</generator><lastBuildDate>Thu, 01 Oct 2026 02:30:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/226167.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Oct 2008 10:07:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to XML mit C++ on Thu, 30 Oct 2008 10:07:34 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich schreibe gerade meine Dipl. Arbeit mit Visual C++. Nun muss ich für eine bestimmte Funktionalität XML Dateien schreiben und wieder auslesen.</p>
<p>Gibt es bestimmte APIs die sich dafür gut eignen? Eigentlich reicht es, wenn die API relativ einfach ist, ich muss für mehrere Objekte nur sowas in der Art schreiben:</p>
<p>&lt;Objekt&gt;<br />
&lt;ID=...&gt;<br />
&lt;X=...&gt;<br />
&lt;Y=...&gt;<br />
&lt;Z=...&gt;<br />
&lt;/Objekt&gt;</p>
<p>Gruß<br />
Alex</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607046</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607046</guid><dc:creator><![CDATA[filth]]></dc:creator><pubDate>Thu, 30 Oct 2008 10:07:34 GMT</pubDate></item><item><title><![CDATA[Reply to XML mit C++ on Thu, 30 Oct 2008 10:09:20 GMT]]></title><description><![CDATA[<p><a href="http://sourceforge.net/projects/tinyxml" rel="nofollow">http://sourceforge.net/projects/tinyxml</a></p>
<p>Hier bitte.<br />
rya.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607048</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607048</guid><dc:creator><![CDATA[scorcher24@arbyte]]></dc:creator><pubDate>Thu, 30 Oct 2008 10:09:20 GMT</pubDate></item><item><title><![CDATA[Reply to XML mit C++ on Thu, 30 Oct 2008 10:10:49 GMT]]></title><description><![CDATA[<p>perfekt. Vielen Dank!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607050</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607050</guid><dc:creator><![CDATA[filth]]></dc:creator><pubDate>Thu, 30 Oct 2008 10:10:49 GMT</pubDate></item><item><title><![CDATA[Reply to XML mit C++ on Thu, 30 Oct 2008 10:15:01 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>wenn du es etwas komfortabler haben möchtest (Iteratoren, keine rohen Pointer, keine Error-Codes usw.), schau dir mal tinyxml++ an.</p>
<p><a href="http://ticpp.googlecode.com/svn/docs/ticpp.html" rel="nofollow">http://ticpp.googlecode.com/svn/docs/ticpp.html</a></p>
<p>Solange du keine Validierung brauchst (leistet weder tinyxml noch die Wrapper-Variante), sollte das reichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607053</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607053</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 30 Oct 2008 10:15:01 GMT</pubDate></item><item><title><![CDATA[Reply to XML mit C++ on Thu, 30 Oct 2008 10:23:19 GMT]]></title><description><![CDATA[<p>Noch zu erwähnen wäre der Arabica-Parser. Iteratoren, RAII, keine Zeiger, und trotzdem vollständige SAX/DOM-Umsetzung. Allerdings ist Arabica selbst nur ein Wrapper auf XercesC, MSXML oder ich glaube auch TinyXML. Wenn der Backend-Parser Validierung bietet, bietet Arabica diese auch.</p>
<p><a href="http://www.jezuk.co.uk/cgi-bin/view/arabica" rel="nofollow">http://www.jezuk.co.uk/cgi-bin/view/arabica</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607055</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607055</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Thu, 30 Oct 2008 10:23:19 GMT</pubDate></item><item><title><![CDATA[Reply to XML mit C++ on Thu, 30 Oct 2008 13:13:32 GMT]]></title><description><![CDATA[<p>Aquae schrieb:</p>
<blockquote>
<p>Hi,</p>
<p>wenn du es etwas komfortabler haben möchtest (Iteratoren, keine rohen Pointer, keine Error-Codes usw.), schau dir mal tinyxml++ an.</p>
<p><a href="http://ticpp.googlecode.com/svn/docs/ticpp.html" rel="nofollow">http://ticpp.googlecode.com/svn/docs/ticpp.html</a></p>
<p>Solange du keine Validierung brauchst (leistet weder tinyxml noch die Wrapper-Variante), sollte das reichen.</p>
</blockquote>
<p>Ganz ehrlich, von TinyXML++ rate ich persönlich ab. Die Speicherverwaltung von TinyXML++ ist MISERABEL!<br />
Wenn du mit TinyXML++ über z.B. 3000 Nodes iterieren willst, dann wird immer neuer Speicher für einen neuen Nodewrapper erstellt und an den Node vorher zur Verwaltung übergeben. Wenn du dann aus dem Scope gehst, räumt TinyXML++ diese 3000 neuen und völlig unnötig angelegten Nodewrappers rekursiv auf, was zu einem Stackoverflow führt.</p>
<p>TinyXML dagegen ist wirklich nicht schlecht, wenn auch teilweise etwas mühsam zu handhaben. Aber immerhin funktioniert es einwandfrei.</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1607172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1607172</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Thu, 30 Oct 2008 13:13:32 GMT</pubDate></item></channel></rss>