<?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>dolejsky.com &#187; XML</title>
	<atom:link href="http://www.dolejsky.com/category/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dolejsky.com</link>
	<description>Things good to know...</description>
	<lastBuildDate>Sat, 01 Jan 2011 12:12:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Tweaking XOM parser &#8211; element position support</title>
		<link>http://www.dolejsky.com/2008/01/22/tweaking-xom-parser-element-position-support/</link>
		<comments>http://www.dolejsky.com/2008/01/22/tweaking-xom-parser-element-position-support/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 09:49:50 +0000</pubDate>
		<dc:creator>ludek</dc:creator>
				<category><![CDATA[Bits and pieces]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.dolejsky.com/2008/01/22/tweaking-xom-parser-element-position-support/</guid>
		<description><![CDATA[XOM parser is a great piece of code. I was missing just one feature &#8211; to be able to get position of element in source file (line and column). So I did a quick and dirty hack resulting in two new nu.xom.Element methods: getLineNumber() and getColumnNumber(). Works nice when used in conjunction with org.apache.xerces.parsers.SAXParser (but [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.xom.nu/">XOM parser</a> is a great piece of code. I was missing just one feature &#8211; to be able to get position of element in source file (line and column). So I did a quick and dirty hack resulting in two new <strong>nu.xom.Element</strong> methods: <strong>getLineNumber()</strong> and <strong>getColumnNumber()</strong>. </p>
<p><span id="more-18"></span></p>
<p>Works nice when used in conjunction with <strong>org.apache.xerces.parsers.SAXParser</strong> (but wasn&#8217;t tested with anything else so take care&#8230;). </p>
<p>If you&#8217;re interested, download the original <a href="http://www.cafeconleche.org/XOM/xom-1.1.zip">xom-1.1.zip</a> file, unpack and unpack all files from my <a href="http://www.dolejsky.com/files/xom-1.1.position.patch.zip">xom-1.1.position.patch.zip</a> over original ones.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dolejsky.com/2008/01/22/tweaking-xom-parser-element-position-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

