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

[xmlschema-dev] <none>

From: Nell Golding <nell_golding@hotmail.com>
Date: Thu, 6 Jun 2002 08:51:51 -0400 (EDT)
To: xmlschema-dev@w3.org
Message-ID: <F198OYSwuDCjenPQfTZ00014f47@hotmail.com>

Thank you very much for all your kind and quick answers.
I understand that I should formulate my question more clearly.
Nevertheless I've got the help I needed.
I experienced difficulties with a declaration of the element's content, when 
for example it should contain character data, but must not be empty.
Now I see, that it is necessary to constract new simpleType with a string 
type restriction on minLength.

So, something like this...

<xsd:element name="Name">
	  <xsd:restriction base="xsd:string" >
		<xsd:minLength value="1"/>

Best Regards,
Nell G.

Chat with friends online, try MSN Messenger: http://messenger.msn.com
Received on Thursday, 6 June 2002 10:03:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC