Re: Question on XMLSchema

Sorry to take so long to reply.

The syntax is not yet completely nailed down so what follows is an
approximation of what we may eventually end up with.

//Define an abstract type
<type name='shoeOrder'>
      <element name='size'  type = 'integer'>
 </type>
//Associate a GI with the type
<element name='purchaseOrder' type='shoeOrder'>

//Here is how it would appear in an instance document
<purchaseOrder>
     <size>10</size>
</purchaseOrder>

Ashok Malhotra


rajani kanigiri <rajani.kanigiri@mail.sprint.com>@w3.org on 09/02/99 10:56:35 AM

Sent by:  www-xml-schema-comments-request@w3.org


To:   www-xml-schema-comments@w3.org
cc:
Subject:  Question on XMLSchema



I have a question on XML schema datatypes
If we define a user defined data type
double[] scores;
How do we call it in XML file
E.g:
<scores>
<scores>45.2</scores>
<scores>57.3</scores>
</scores

           ------------or------------
<scores>
<double>45.2</double>
<double>57.3</double>
</scores>

I request you to send me the response as soon as possible.

Thanks,
Rajani Kanigiri.

Received on Wednesday, 22 September 1999 11:19:01 UTC