Minero Aoki wrote: > > In mail "[ruby-talk:13807] Re: Problems with racc rule definitions" > Michael Neumann <neumann / s-direktnet.de> wrote: > > > > > Following racc-rule raises an error during parsing (not during 'racc parser.y'), > > > > and I don't know why. > > Ahh, I'm sorry, I did not take the point of your question. > Yes, there's no way to branch parser action by semantic value. > racc know about only symbol. Maybe your "if val[0] == ..." way is > right. Katsuhiro Ueno's xmlscan library uses also racc, and his > code is: Does "xmlscan" implement XPath, and where can I get it? Regards Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de