Non empty content model

Hello all,

how can i define that an element may not be empty.
Now I use:

<xsd:simpleType name="nonEmptyString">
	<xsd:restriction base="xsd:string">
		<xsd:minLength value="1"/>
	</xsd:restriction>
</xsd:simpleType>

Is there an attribute or a general rule to indicate the content of an
element may not be empty ? 

Kind regards,
Ismaël

Received on Monday, 1 September 2003 10:48:14 UTC