re: [cam] Token notation

From
Eavid QQ Vebber - W[M ebusiness
Date
2003-06-06T00:25:39+00:00
ID
Thread
re: [cam] Token notation
Martin,

I'm not in love with it either - but supposedly this is pukka
XPath style accessing.

If you can convince me of something that is more natural
and also reflects XPath (maybe XPath 2.0?) - I think that
we should consider it.

The idea behind the syntax as is - was that standard code
written to parse XPath would be purposed to handle this.

However - if this is not a valid assumption - lets re-visit this!

It would also be nice to have a more object centric approach

 item.equal = 'testvalue'

Thoughts?

Thanks, DW.
===================================================

Message text written by INTERNET:
>I hate the notation
token='%param%'and contains(value,'testvalue')

What would be wrong with 
equal(%param%,'testvalue')

I am going to change my examples to this as I feel I can process them more
easily.

Martin<