Re: Hierarchical query
Date: Thu, 14 Jun 2007 11:14:35 -0700
On 14 jun, 19:54, Vadim Tropashko <vadimtro_inva..._at_yahoo.com> wrote:
> On Jun 14, 10:35 am, Jan Hidders <hidd..._at_gmail.com> wrote:
> > On 14 jun, 18:41, Vadim Tropashko <vadimtro_inva..._at_yahoo.com> wrote:
> > > I was going to define tree query in pure language settings, be it
> > > regular languges, context free grammars, or else.
> > ?? How does one query a set of strings in a "pure language setting"?
> > Of course you might select certain strings from the set with something
> > that accepts strings from a certain language, but that is clearly
> > inadequate because you cannot take the "context" of the node into
> > account.
> And what the node's "context" would be?
The nodes around it, the preceding siblings, the following sibling, et cetera. How do I ask for an "a" node that is immediately preceded by a "b" node?
- Jan Hidders