RE: Empty Content Element Declaration Problem

Create a enumeration of string that contains "N/A" and the empty string
"".
Create a union the above datatype with decimal.

All the best, Ashok 
===========================================================
Ashok Malhotra              <mailto: ashokma@microsoft.com> 



-----Original Message-----
From: hsbcbilly [mailto:hsbcbilly@sinaman.com] 
Sent: Wednesday, September 19, 2001 2:43 AM
To: xmlschema-dev@w3.org
Subject: Empty Content Element Declaration Problem


Hi,

One of the elements in my XML document has decimal number values (e.g.
1.234, 56.1, etc.). However, it may also contain the value "N/A" or
value of empty string.

e.g. the possible values of this element are:
1. <VALUE>122.33</VALUE>
2. <VALUE>N/A</VALUE>
3. <VALUE></VALUE>

I am writing a XML Schema for this XML, and I don't have any idea of how
to write the schema for the element I mentioned above. I've tried many
different kinds of syntax but still failed when I validated my XML using
the schema I wrote (I am using the validator of the XMLSpy 4).

Pls give me some guidances and thank you very much.

Billy
==================================================================
新浪免費電子信箱  http://sinamail.sina.com.hk

Received on Wednesday, 19 September 2001 07:59:46 UTC