[Versa] Issue 2

Uche Ogbuji uche.ogbuji at fourthought.com
Fri Aug 12 09:10:42 MDT 2005


On Fri, 2005-08-12 at 09:00 -0600, Michael Olson wrote:
> On Aug 12, 2005, at 7:25 AM, Uche Ogbuji wrote:
> 
> > On Fri, 2005-08-12 at 00:45 -0600, Michael Olson wrote:
> >> I propose that we added backwards filters.  They make tons of sense to
> >> me.  I often find my self moving forward and backwards in the graph  
> >> and
> >> cannot see any reason why I should be able to do something forwards,
> >> but not backwards.  I think the syntax should be similar to that for
> >> forward filters.
> >>
> >> Additional, I think we should add a filter function to mike the filter
> >> operation.  Similar to the traverse function.
> >
> > You mean to match the filter operation?  There is one already.  Section
> > 7.2.4 of the spec.
> 
> Note in the version I was looking at.  Where is the _latest_ version?   
> I got it out of 4Suite CVS

The filter function *is* there, which is the latest Versa spec.  Right
out of CVS (docs/xml/Versa.doc):

      <section>
        <title>filter</title>
        <screen>
filter(<emphasis>list</emphasis>, <emphasis>string</emphasis>,
[<emphasis>string</emphasis>, [...]])
        </screen>
        <para>filter converts the first argument into a list (the source
list).
 The second and following arguments are strings that are dynamically
evaluated as Versa queries.  The context for these evaluations are the
items from the source list taken in turn.  If all these evaluations
return true, then the resource is added to the result list.
        </para>
      </section>


> > Side note: first step is to fix the broken internal anchors in that
> > spec.  Grrrr.  Chime also has the start of a nice CSS for the spec.  I
> > wonder whether we should move to ReST for the text:
> >
> 
> Its a problem with the stylesheet.

I know.

> I've fixed it on my local machine.

Just check in your docbook transform fix.


-- 
Uche Ogbuji                               Fourthought, Inc.
http://uche.ogbuji.net                    http://fourthought.com
http://copia.ogbuji.net                   http://4Suite.org
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
XML Output with 4Suite & Amara - http://www.xml.com/pub/a/2005/04/20/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerworks/xml/library/x-think31.html




More information about the Versa mailing list