<?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: Building a tokenizer for XPath or XQuery</title>
	<atom:link href="http://dubinko.info/blog/2007/10/20/building-a-tokenizer-for-xpath-or-xquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://dubinko.info/blog/2007/10/20/building-a-tokenizer-for-xpath-or-xquery/</link>
	<description>From an XML geek, a reader, a writer, a connector, a man of the people (says keep hope alive)</description>
	<lastBuildDate>Sat, 01 Oct 2011 16:18:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Dimitre Novatchev</title>
		<link>http://dubinko.info/blog/2007/10/20/building-a-tokenizer-for-xpath-or-xquery/comment-page-1/#comment-3747</link>
		<dc:creator>Dimitre Novatchev</dc:creator>
		<pubDate>Sun, 21 Oct 2007 15:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://dubinko.info/blog/2007/10/20/building-a-tokenizer-for-xpath-or-xquery/#comment-3747</guid>
		<description>Hi Micah,
Recently I had fun implementing the parsing stage of an XPath 2.0 implementation in pure XSLT.

I followed the XPath 2.0 lexical description and syntax as per Michael Kay&#039;s book and everything went pretty straightforward. 

I found only a couple of typographical errors in the grammar specification, such as using a chevron instead of a &#039;&gt;&#039;, or some improper nesting of quotes.

For the lexical analysis phase I am using the RegEx support of XSLT 2.0.

For the parsing phase I am using the same generic LR parsing framework from FXSL, which I already used successfully in parsing JSON and converting it to XML.

I also found the W#C document not of too-big value. I had similar question like you and posted it in the xsl-list:

&quot;Grammars for XPath 2.0: which to use?&quot; In this thread Michael Kay posted a very useful answer.

See my blog for a description of the JSON to XML parser and the FXSL Generic LR Parsing Framework.

I would be glad to provide more information on my XPath 2.0 parsing experience. It was great fun.


Cheers,
Dimitre Novatchev</description>
		<content:encoded><![CDATA[<p>Hi Micah,<br />
Recently I had fun implementing the parsing stage of an XPath 2.0 implementation in pure XSLT.</p>
<p>I followed the XPath 2.0 lexical description and syntax as per Michael Kay&#8217;s book and everything went pretty straightforward. </p>
<p>I found only a couple of typographical errors in the grammar specification, such as using a chevron instead of a &#8216;&gt;&#8217;, or some improper nesting of quotes.</p>
<p>For the lexical analysis phase I am using the RegEx support of XSLT 2.0.</p>
<p>For the parsing phase I am using the same generic LR parsing framework from FXSL, which I already used successfully in parsing JSON and converting it to XML.</p>
<p>I also found the W#C document not of too-big value. I had similar question like you and posted it in the xsl-list:</p>
<p>&#8220;Grammars for XPath 2.0: which to use?&#8221; In this thread Michael Kay posted a very useful answer.</p>
<p>See my blog for a description of the JSON to XML parser and the FXSL Generic LR Parsing Framework.</p>
<p>I would be glad to provide more information on my XPath 2.0 parsing experience. It was great fun.</p>
<p>Cheers,<br />
Dimitre Novatchev</p>
]]></content:encoded>
	</item>
</channel>
</rss>

