[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: flex/bison based xpath parser

Subject: Re: flex/bison based xpath parser
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Fri, 03 Sep 1999 10:57:20 +0100
xpath lex yacc
Hi Sean,

I've been writing batch files to try to do xpath viewing (which I really
need to help analyse large large and rapidly changing XML dump I'm
formatting) but getting stymied by XSLT's refusal to permit
paramterisation of select attributes - I even tried external entities!

So if you need a user I'd be interested - I have some java experience
but haven't yet tried XSLT from inside java - I've been doing pure XSLT
in batch.

Francis.

zun@xxxxxxxxxxxxxx wrote:
> 
> Hi Joerg,
> 
> On Mon, 23 Aug 1999, Joerg Brunsmann wrote:
> 
> > out of curiosity I built a lex/yacc based implementation of the xpath
> > grammar which might be of use for somebody else. Use it like this:
> 
> [ snip]
> 
> Thanks for your effort Joerg!  I at least have another parser to compare
> mine with, I wrote mine with Antlr in Java and will release it soon as a
> Java library that evaluates XPath expressions on DOM trees and returns
> result Nodes, as well as a graphical viewer utility.
> 
> > Still don't know how to handle brackets of AVTs ("{" and "}"). Am I
> > missing something?
> 
> AVTs are not part of XPath but of XSLT and only should be recognized in
> certain places, e.g. in attribute values of literal result elements per
> section 8.6.2.  It also details treatment of double curly braces etc.
> there.
> 
> So some of your test expressions is not legal XPath.  Some others seem to
> be causing trouble in my parser too, so it's back to work for me!
> 
> . . . Sean.
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.