<?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: Read and write XML</title>
	<atom:link href="http://www.javablogging.com/read-and-write-xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javablogging.com/read-and-write-xml/</link>
	<description>Tracking surprises, features and bugs</description>
	<lastBuildDate>Wed, 25 Aug 2010 14:00:30 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vibram five fingers kso shoes</title>
		<link>http://www.javablogging.com/read-and-write-xml/comment-page-1/#comment-3167</link>
		<dc:creator>vibram five fingers kso shoes</dc:creator>
		<pubDate>Sat, 03 Jul 2010 02:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=679#comment-3167</guid>
		<description>Women&#039;s  &lt;a href=&quot;http://www.vibramfivefingers.name&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;vibram five fingers kso shoes&lt;/strong&gt;&lt;/a&gt; Gray Pink Shoes can keep your feet in the freest condition,just as if your were barefooted. &lt;strong&gt;vibram five fingers kso shoes &lt;/strong&gt;is made of the best and proper materials,so you don&#039;t need to doubt of its comfort with so thin sole and upper.
Gray match with a dreamlike and romantic color,pink&lt;a href=&quot;http://www.vibramfivefingers.name&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt; vibram five fingers kso shoes&lt;/strong&gt;&lt;/a&gt; is very consistent with the style of young girls.In this busy and tense times,people need relax without any fetter.</description>
		<content:encoded><![CDATA[<p>Women&#8217;s  <a href="http://www.vibramfivefingers.name" rel="nofollow"><strong>vibram five fingers kso shoes</strong></a> Gray Pink Shoes can keep your feet in the freest condition,just as if your were barefooted. <strong>vibram five fingers kso shoes </strong>is made of the best and proper materials,so you don&#8217;t need to doubt of its comfort with so thin sole and upper.<br />
Gray match with a dreamlike and romantic color,pink<a href="http://www.vibramfivefingers.name" rel="nofollow"><strong> vibram five fingers kso shoes</strong></a> is very consistent with the style of young girls.In this busy and tense times,people need relax without any fetter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mironsadziak</title>
		<link>http://www.javablogging.com/read-and-write-xml/comment-page-1/#comment-470</link>
		<dc:creator>mironsadziak</dc:creator>
		<pubDate>Mon, 28 Sep 2009 13:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=679#comment-470</guid>
		<description>You are right IBBoard, this example is very generic. There is waaaay much more that you can do in Java for XML parsing. The examples here are supposed to be just a minimum to get somebody started. After that you have Javadoc and tons of much more detailed tutorials on the net.</description>
		<content:encoded><![CDATA[<p>You are right IBBoard, this example is very generic. There is waaaay much more that you can do in Java for XML parsing. The examples here are supposed to be just a minimum to get somebody started. After that you have Javadoc and tons of much more detailed tutorials on the net.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IBBoard</title>
		<link>http://www.javablogging.com/read-and-write-xml/comment-page-1/#comment-469</link>
		<dc:creator>IBBoard</dc:creator>
		<pubDate>Mon, 28 Sep 2009 12:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=679#comment-469</guid>
		<description>And this time with the brackets the right way around!

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;root testAttr=&quot;testValue&quot;&gt;
	&lt;nest1&gt;
		&lt;nest2&gt;
			&lt;nest3&gt;
				&lt;child&gt;data1&lt;/child&gt;
			&lt;/nest3&gt;
		&lt;/nest2&gt;
	&lt;/nest1&gt;
	&lt;child&gt;data2&lt;/child&gt;
&lt;/root&gt;</description>
		<content:encoded><![CDATA[<p>And this time with the brackets the right way around!</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;root testAttr=&#8221;testValue&#8221;&gt;<br />
	&lt;nest1&gt;<br />
		&lt;nest2&gt;<br />
			&lt;nest3&gt;<br />
				&lt;child&gt;data1&lt;/child&gt;<br />
			&lt;/nest3&gt;<br />
		&lt;/nest2&gt;<br />
	&lt;/nest1&gt;<br />
	&lt;child&gt;data2&lt;/child&gt;<br />
&lt;/root&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IBBoard</title>
		<link>http://www.javablogging.com/read-and-write-xml/comment-page-1/#comment-468</link>
		<dc:creator>IBBoard</dc:creator>
		<pubDate>Mon, 28 Sep 2009 12:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=679#comment-468</guid>
		<description>Try again - it treated the XML tags as HTML and lost them last time!

&gt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&lt;
&gt;root testAttr=&quot;testValue&quot;&lt;
	&gt;nest1&lt;
		&gt;nest2&lt;
			&gt;nest3&lt;
				&gt;child&lt;data1&gt;/child&lt;
			&gt;/nest3&lt;
		&gt;/nest2&lt;
	&gt;/nest1&lt;
	&gt;child&lt;data2&gt;/child&lt;
&gt;/root&lt;</description>
		<content:encoded><![CDATA[<p>Try again &#8211; it treated the XML tags as HTML and lost them last time!</p>
<p>&gt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&lt;<br />
&gt;root testAttr=&#8221;testValue&#8221;&lt;<br />
	&gt;nest1&lt;<br />
		&gt;nest2&lt;<br />
			&gt;nest3&lt;<br />
				&gt;child&lt;data1&gt;/child&lt;<br />
			&gt;/nest3&lt;<br />
		&gt;/nest2&lt;<br />
	&gt;/nest1&lt;<br />
	&gt;child&lt;data2&gt;/child&lt;<br />
&gt;/root&lt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IBBoard</title>
		<link>http://www.javablogging.com/read-and-write-xml/comment-page-1/#comment-467</link>
		<dc:creator>IBBoard</dc:creator>
		<pubDate>Mon, 28 Sep 2009 12:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.javablogging.com/?p=679#comment-467</guid>
		<description>The first example works, but is somewhat generic (depending on what you want to do). If you passed it an XML file that was something like this:



	
		
			
				data1
			
		
	
	data2


Then it&#039;d return the same results, which is probably not what you&#039;d want. Also, you&#039;re working with a non-validating parser, so you can&#039;t be sure that the document even matches any schema you might have defined.</description>
		<content:encoded><![CDATA[<p>The first example works, but is somewhat generic (depending on what you want to do). If you passed it an XML file that was something like this:</p>
<p>				data1</p>
<p>	data2</p>
<p>Then it&#8217;d return the same results, which is probably not what you&#8217;d want. Also, you&#8217;re working with a non-validating parser, so you can&#8217;t be sure that the document even matches any schema you might have defined.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
