Hi all,
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:
$ gunzip xslt.tar.gz
$ tar xfv xslt.tar
$ cd xslt
$ ./configure
$ make
$ cd src
$ ./xpapa
It will then parse some test expressions and print out the results.
Still don't know how to handle brackets of AVTs ("{" and "}"). Am I
missing something?
Get it here:
http://www.informatik.fernuni-hagen.de/import/pi3/joerg/xslt.tar.gz
Cheers,
Jörg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|