- From: Nell Golding <nell_golding@hotmail.com>
- Date: Thu, 6 Jun 2002 08:51:51 -0400 (EDT)
- To: xmlschema-dev@w3.org
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:simpleType>
<xsd:restriction base="xsd:string" >
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
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