W3C home > Mailing lists > Public > www-ql@w3.org > January to March 2003

RE: Atomization Question...

From: Mary Fernandez <mff@research.att.com>
Date: 22 Feb 2003 19:36:49 -0500
To: Michael Burbidge <mburbidg@adobe.com>
Cc: www-ql@w3.org
Message-Id: <1045960610.2172.47.camel@squeak>

Element and attributes whose simple content
contains list types will contain sequences of atomic values.

For example, here's a list type:

<simpleType name="intList">
  <list itemType="xs:integer"/>

Here's an element that contains an intList:

<element name="ints" type="intList"/>

Here is an element that validates against 'element ints':

  <ints>1 2 3 4</ints>

Suppose $x is bound to the element above and the element
has been validated against 'element ints',
then here's an expression that returns the typed
content of this element : 


which evaluates to the sequence:

 1, 2, 3, 4

Hope that helps

> -----Original Message-----
> From: Michael Burbidge [mailto:mburbidg@adobe.com]
> Sent: Friday, February 21, 2003 5:23 PM
> To: www-ql@w3.org
> Subject: Atomization Question...
> Under the definition of atomization the specification refers to a node 
> whose type value is a sequence of atomic values. Can someone give me a 
> snippet of XML that gives an example of a such a node?
> Thanks,
> Michael-
Mary Fernandez, Principal Technical Staff Member  
AT&T Labs - Research, 180 Park Ave., Room E243, Florham Park, NJ
phone: 973-360-8679,  fax: 973-360-8187
mff@research.att.com, http://www.research.att.com/~mff  
Received on Saturday, 22 February 2003 19:40:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:15 UTC