<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: An XML Callback Antipattern</title>
	<link>http://dave.sunwheeltech.com/wordpress/2005/10/30/an-xml-callback-antipattern/</link>
	<description>Dave Crane's weblog</description>
	<pubDate>Thu, 29 Jul 2010 13:15:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1.2</generator>

	<item>
		<title>by: Phil Wills</title>
		<link>http://dave.sunwheeltech.com/wordpress/2005/10/30/an-xml-callback-antipattern/#comment-24</link>
		<pubDate>Mon, 31 Oct 2005 14:22:39 +0000</pubDate>
		<guid>http://dave.sunwheeltech.com/wordpress/2005/10/30/an-xml-callback-antipattern/#comment-24</guid>
					<description>Why not just use the handy getElementsByTagName, as defined at http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#ID-745549614 instead of directly accessing the childNodes?  You might not be able to get away with dodgy variations in case of your tag names, but I've found it simpler and neater, while allowing for both the whitespace vagaries and minor structural changes.</description>
		<content:encoded><![CDATA[	<p>Why not just use the handy getElementsByTagName, as defined at <a href='http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#ID-745549614' rel='nofollow'>http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#ID-745549614</a> instead of directly accessing the childNodes?  You might not be able to get away with dodgy variations in case of your tag names, but I&#8217;ve found it simpler and neater, while allowing for both the whitespace vagaries and minor structural changes.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
