<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Codec &#187; NSXMLParser</title>
	<atom:link href="http://www.trembl.org/codec/tag/nsxmlparser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trembl.org/codec</link>
	<description>A Personal Polylogic Code/Decode &#039;Zettelkasten&#039;</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>NSXMLParser vs libxml2</title>
		<link>http://www.trembl.org/codec/206/</link>
		<comments>http://www.trembl.org/codec/206/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 07:53:19 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[libxml2]]></category>
		<category><![CDATA[NSXMLParser]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=206</guid>
		<description><![CDATA[NSXMLParser parses XML, reports when each node ends, better for very, very large documents. libxml2 loads whole xml file into memory. http://code.google.com/p/touchcode/wiki/TouchXML http://code.google.com/p/kissxml/ iPhone SDK Development by Bill Dudney and Chris Adamson NSXMLParser initWithContentsOfURL: may block GUI while downloading, can not handle HTTP authentication. initWithData: accumulate data with NSURLConnection&#8217;s delegate -didReceiveResponse, -didReceiveData, -connectionDidFinishLoading. TouchXML - [...]]]></description>
			<content:encoded><![CDATA[<p>NSXMLParser parses XML, reports when each node ends, better for very, very large documents.</p>
<p><a href="http://xmlsoft.org/">libxml2</a> loads whole xml file into memory.</p>
<p><a href="http://code.google.com/p/touchcode/wiki/TouchXML">http://code.google.com/p/touchcode/wiki/TouchXML</a><br />
<a href="http://code.google.com/p/kissxml/">http://code.google.com/p/kissxml/</a></p>
<p><a href="http://www.pragprog.com/titles/amiphd/iphone-sdk-development">iPhone SDK Developmen</a>t by Bill Dudney and Chris Adamson</p>
<p><strong>NSXMLParser</strong><br />
<em>initWithContentsOfURL:</em> may block GUI while downloading, can not handle HTTP authentication.<br />
<em>initWithData:</em> accumulate data with NSURLConnection&#8217;s delegate -didReceiveResponse, -didReceiveData, -connectionDidFinishLoading.</p>
<p><strong>TouchXML</strong><br />
- copy TouchXML files to project<br />
- in &#8220;Targets&#8221;, select target > Get Info > add <strong>/usr/include/libxml2</strong> to <em>Header Search Paths</em><br />
<strong>- add libxml2.dylib to &#8220;Frameworks&#8221;</strong></p>
<p>UPDATE<br />
instead of adding libxml2.dylib link to the Framework on the system:<br />
<strong>Other Linker Flags:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span>lxml2</pre></div></div>

<p><a href="http://www.trembl.org/codec/220/">Linking libxml2 in Xcode</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/206/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

