<?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>Tech Notes &#187; XML</title>
	<atom:link href="http://www.ryannitz.org/tech-notes/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryannitz.org/tech-notes</link>
	<description>Miscellaneous technology examples and notes</description>
	<lastBuildDate>Sun, 03 Apr 2011 16:48:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<image>
  <link>http://www.ryannitz.org/tech-notes</link>
  <url>http://ryan-nitz/favicon.ico</url>
  <title>Tech Notes</title>
</image>
		<item>
		<title>Python Create XML Document</title>
		<link>http://www.ryannitz.org/tech-notes/2008/12/30/python-create-xml-document/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/12/30/python-create-xml-document/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 16:51:26 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=109</guid>
		<description><![CDATA[Creating an XML document in Python can be accomplished by executing: from xml.dom import minidom doc = minidom.Document() testElem = doc.createElement("test") testElem.setAttribute('id', '1234') doc.appendChild(testElem) print doc.toxml() The  example above creates an XML document, creates a child element, sets an attribute and then appends the child element to the document. The XML document in the above [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-107" title="python_logo2" src="http://ryan-nitz.com/tech-notes/wp-content/uploads/2008/12/python_logo2.png" alt="python_logo2" width="188" height="60" /></p>
<p>Creating an XML document in Python can be accomplished by executing:</p>
<pre>from xml.dom import minidom
doc = minidom.Document()
testElem = doc.createElement("test")
testElem.setAttribute('id', '1234')
doc.appendChild(testElem)
print doc.toxml()</pre>
<p>The  example above creates an XML document, creates a child element, sets an attribute and then appends the child element to the document.</p>
<p>The XML document in the above example looks like:</p>
<pre>&lt;?xml version="1.0" ?&gt;&lt;test id="1234"/&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/12/30/python-create-xml-document/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Python Parse XML Document</title>
		<link>http://www.ryannitz.org/tech-notes/2008/12/30/python-parse-xml-document/</link>
		<comments>http://www.ryannitz.org/tech-notes/2008/12/30/python-parse-xml-document/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 16:36:01 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://leisuremech.com/?p=99</guid>
		<description><![CDATA[Parsing an XML document in Python is easy. Below is a simple example that loads an XML document from a file, parses and prints: from xml.dom import minidom dom = minidom.parse('test.xml') print dom.toxml() For more information, see the Python minidom documentation.]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-107" title="python_logo2" src="http://www.ryannitz.org/tech-notes/wp-content/uploads/2008/12/python_logo2.png" alt="python_logo2" width="188" height="60" /></p>
<p>Parsing an XML document in Python is easy. Below is a simple example that loads an XML document from a file, parses and prints:</p>
<pre>from xml.dom import minidom
dom = minidom.parse('test.xml')
print dom.toxml()</pre>
<p>For more information, see the <a href="http://docs.python.org/library/xml.dom.minidom.html" target="_blank">Python minidom documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryannitz.org/tech-notes/2008/12/30/python-parse-xml-document/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

