W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

Element not containing 'blank' text value

From: Stig Henning Berg <shb@scope.no>
Date: Thu, 14 Feb 2002 12:00:12 +0100
Message-ID: <00a301c1b546$c8ece0f0$9c0a020a@nho.no>
To: <xmlschema-dev@w3.org>
How do I specify in the schema that an Element must have a text value which is not blankL or Empty?

I have looked at the Content attribute, but it won't help me much.


      textOnly
     The element can contain text but no sub elements.
     
      eltOnly
     Element can contain sub elements only.
     
      empty
     Text and sub-elements are not allowed.
     
      mixed
     Both text and sub-elements are allowed.
     



Regards, -stig henning
Received on Thursday, 14 February 2002 06:03:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT