How to disallow empty string elements using XML Schema?

Discussion in 'XML' started by =?ISO-8859-1?Q?Jan-Erik_=D6hman?=, Aug 28, 2003.

  1. Hi.
    I want to do something like
    <n>Some text only</n>

    I wan't to define a schema that disallows the following xml-files:

    where the node 'n' is specified in the schema as xsd:string.

    Is this possible? I haven't figured out how to do this.

    Anyone know how to do this?

    Thanks in advance, Jan-Erik
    =?ISO-8859-1?Q?Jan-Erik_=D6hman?=, Aug 28, 2003
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page