Hi,

I am writing a schema to check for empty elements in an XML file. I am able to do so for simple elements such as:

<xs:element name="authornam e" type ="requiredstrin g"></xs:element>

by using the custom type "requiredstring " defined as:

<xs:simpleTyp e name="requireds tring">
<xs:restricti on base="xs:string ">...