[Versa] DOT
Uche Ogbuji
uche.ogbuji at fourthought.com
Tue Sep 27 13:55:08 MDT 2005
On Tue, 2005-09-27 at 11:26 -0600, Michael Olson wrote:
> > It's strange that the meaning of this dot path stuff is based on a
> > temporary nesting of intermediate contexts rather than something in the
> > underlying model. I think this blows the XPath and UNIX file system
> > comparison and makes this really hard to intuitively understand.
> >
> > I would prefer to have a special, named variable set up to represent
> > the
> > statement
> >
> > all() - * -> ft:statement-uri($versa:current-statement) ==
> > "http://foo.com"
> >
>
> I think I like this better. we define (smaller names to cut down on
> typing)
>
> $versa:statement
> $versa:subject
> $versa:predicate
> $versa:object
>
> The last three are shortcuts onto the first.
>
> Then "." is defined as the appropriate value from the last three
> variables
Sounds good. I expect we should be clear that these are undefined
outside traversal expressions?
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/
More information about the Versa
mailing list