[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Groves (was re: bunch of other stuff...)


Re:  Groves (was re: bunch of other stuff...)

John Cowan wrote:

> What I'd like to understand about groves is what the valid datatypes for
> property values can be.  I assume they include at least:
>
> 	node
> 	ordered list of nodes
> 	set of nodes
> 	integer
> 	string
> 	boolean
> 	enumeration of tokens
>
> What else can exist?

See <URL: http://www.ornl.gov/sgml/wg8/docs/n1920/html/clause-A.4.1.html>,
clause A.4.1.2, "Classes and properties."

You've got nodes, node lists, and named node lists (the nodal types);
characters, strings, integers, booleans, and "component names"
(the primitive data types); and integer lists, string lists,
and "component name" lists.

The most interesting one is the "named node list" type:
it's a node list with the extra condition that each member
of the list has a name property  which distinguishes it from
the other members of the list.  (This is used to model
the 'attributes' property of 'element' nodes, for example).

There is no "node set" data type; in fact even named node lists
are considered to be ordered.

A "component name" is a reference into the grove plan, if I understand
it correctly.  (Actually I'm not entirely sure what these are for.)


--Joe English

  jenglish@f...

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.