[Versa] Versa issue: quote madness
Michael Olson
Mike.Olson at fourthought.com
Mon Aug 29 23:45:11 MDT 2005
On Aug 29, 2005, at 12:09 AM, Chimezie Ogbuji wrote:
>> I think Chime was talking about using "<" as an operator as well (as
>> short hand for the function)
>
> Yeah I was suggesting operators as shorthands for gte,gt,lt,lte,eq,
> and, or, neq,etc...
> But, due to the use of '>' and '<' by traversal operators
> gte/gt,lte/lt have akward replacements. However, I think the boolean
> operators (for 'and' and 'or' ) have more useful alternatives:
>
> type(rss:item) - dc:date -> type(.) = xsd:date and gte('2001-01-01')
>
> or
>
> type(rss:item) - dc:date -> type(.) = xsd:date and >= '2001-01-01'
>
> instead of
>
> type(rss:item) - dc:date -> and(eq(type(.),xsd:date),gte('2001-01-01'))
I'm for this.
Mike
>
>>
>> . - ns:age -> < 30 as opposed to . - ns:age -> lt(30)
>>
>> That feels weird though
>>
>> Mike
>>
>>
>>>
>>> --
>>> 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
>>>
>>> _______________________________________________
>>> Versa mailing list
>>> Versa at lists.fourthought.com
>>> http://lists.fourthought.com/mailman/listinfo/versa
>>>
>> ----------------------------------------------------------------------
>> --
>> -----------------
>> Mike Olson Principal
>> Consultant
>> mike.olson at fourthought.com +1 720 253 4662
>> Fourthought, Inc.
>> http://Fourthought.com
>> PO Box 270590, http://4Suite.org
>> Louisville, CO 80027-5009, USA
>> XML strategy, XML tools, knowledge management
>>
>> _______________________________________________
>> Versa mailing list
>> Versa at lists.fourthought.com
>> http://lists.fourthought.com/mailman/listinfo/versa
>>
>>
------------------------------------------------------------------------
-----------------
Mike Olson Principal
Consultant
mike.olson at fourthought.com +1 720 253 4662
Fourthought, Inc.
http://Fourthought.com
PO Box 270590, http://4Suite.org
Louisville, CO 80027-5009, USA
XML strategy, XML tools, knowledge management
More information about the Versa
mailing list