XSLT/XML Schema Idea

Dear All,
It's quite a well known fact that *many* people are scared of using Schemas, so wouldn't it be a good idea to have a new subset application/language of Schemas that is very very simple for people to use, and can then be converted to XML Schema by XSLT?
For example:-
<element name="a" type="inline">
  <attribute name="href" type="URI"/>
</element>

Becomes something like:-
<element name="inline" abstract="true" />
   <!-- Include complexType: restrictions for inline elements -->
</element>
<element name="a" equivClass="inline">
  <complexType base="inline" derivedBy="extension">
    <attribute name="href" type="uriReference" />
  </complexType>
</element>

If this idea draws enough praise and attention [c.f. http://www.w3.org/People/Raggett/dtdgen/Docs], I shall draw up a draft for this new language...

The next step for Schemas in XHTML is to modularize the Schemas themselves (possibly using schema import).
Is it possible to import a Schemas to validate against a Namespace using any other method than xsi:schemaLocation?

BTW: Mr. Connolly, have you looked at http://xhtml.waptechinfo.com/extxhtml/ yet? Any thoughts?
Kindest Regards,
Sean B. Palmer
WAP Tech Info - http://www.waptechinfo.com/

Received on Thursday, 7 September 2000 15:25:43 UTC