RE: Atomization Question...

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"/>
</simpleType>

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 : 

  fn:data($x)

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
07932-0971 
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