<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : XML parsing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : XML parsing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:19:34 +0000</pubDate>
  <lastBuildDate>Tue, 06 Sep 2011 14:20:34 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=18905</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[XML parsing : Does anyone know of a better way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18905&amp;PID=66179&amp;title=xml-parsing#66179</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 18905<br /><strong>Posted:</strong> 06 September 2011 at 2:20pm<br /><br />Does anyone know of a better way to parse a standard XML file where every entry is a section and there are no subsections using the Codejock Toolkit?<br><br>Right now I have this sort of thing where I have to release the parse section every time. This seems clunky to me. Usually when something is this goofy, I'm making a mistake or not coding effectively:<br><br>void CResultFile::DoPropExchange(CXTPPropExchange* pPX)<br>{<br>&nbsp;&nbsp;&nbsp; CXTPPropExchange *pSec = NULL;<br>&nbsp;&nbsp;&nbsp; pSec = pPX-&gt;GetSection(_T("RESULT"));<br>&nbsp;&nbsp;&nbsp; PX_String(pSec, _T(""), m_result, _T(""));<br>&nbsp;&nbsp;&nbsp; CMDTARGET_RELEASE(pSec);<br>&nbsp;&nbsp;&nbsp; pSec = pPX-&gt;GetSection(_T("TYPE"));<br>&nbsp;&nbsp;&nbsp; PX_String(pSec, _T(""), m_type, _T(""));<br>&nbsp;&nbsp;&nbsp; CMDTARGET_RELEASE(pSec);<br>&nbsp;&nbsp;&nbsp; ... &nbsp;&nbsp; <br>}<br><br>If anyone could help with some tips it would be greatly appreciated.<br>]]>
   </description>
   <pubDate>Tue, 06 Sep 2011 14:20:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18905&amp;PID=66179&amp;title=xml-parsing#66179</guid>
  </item> 
 </channel>
</rss>