[Xpath-ng] FIXPath (XPath NG core) straw man draft posted

Uche Ogbuji uche.ogbuji at fourthought.com
Mon Jan 6 11:14:38 MST 2003


> > Uche Ogbuji wrote:
> > 
> > >Yes.  Lists are core data types.  That sentence should read:
> > >
> > >"There are three core types of atom in FIXPath: strings, numbers and booleans"
> > >
> > >which follows from
> > >
> > >"Every value in FIXPath is a list or an atom"
> > >
> > >does fixing that address your concern?
> > >
> > What about: "Every value in FIXPath is a list or an atom. An atom has 
> > one of the following three types: ... "
> 
> Okey dokey.  I rearranged things so that it is much closer to what you 
> suggest..

I just wanted to be specific so folks could tweak even further if need be.  
Here is what the source of the relevant snippet looks like after the changes 
suggested by Berend:


  <p class="xpath-deviation">Every value in FIXPath is a list or an atom.  An 
atom has one of the following three types:</p>

<ul>

<li>boolean (true or false)</li>

<li>number (a floating-point number)</li>

<li>string (a sequence of UCS characters)</li>

</ul>

  <p class="xpath-deviation">. A list is a sequence
  of zero or more values. FIXPath lists can be nested: An item in a list can 
be another list.  FIXPath lists are heterogeneous: A list can contain items of 
different types .  Atoms can also be considered to be of two kinds: nodes and 
data.
  Nodes are atoms that have identity whereas data are atoms that do
  not have identity.</p>

  <p class="xpath-deviation">All these four basic types can be converted to 
each other. [SNIP]


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
A Python & XML Companion - http://www.xml.com/pub/a/2002/12/11/py-xml.html
XML class warfare - http://www.adtmag.com/article.asp?id=6965
MusicBrainz  metadata - http://www-106.ibm.com/developerworks/xml/library/x-thi
nk14.html





More information about the Xpath-ng mailing list