OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML Schemas: Is it possible require an element contain *non-whitespace*

[ Lists Home | Date Index | Thread Index ]
  • From: Dylan Walsh <Dylan.Walsh@Kadius.com>
  • To: XML-Dev Mailing list <xml-dev@xml.org>
  • Date: Mon, 09 Oct 2000 15:52:57 +0100


I'm looking into the use of schemas to validate form data submitted by
website users. Basically, when a user submits a form, such a system would
build an XML document from the data and then validate it using XML Schemas.

A common requirement with online forms is that the user has filled in
*something* into certain fields, i.e. they are mandatory. Is it possible,
with XML Schemas, to specify that an element *must* contain some text, and
that text must have atleast some non-whitespace characters in it?




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS