W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2000

XSLT/XML Schema Idea

From: Sean Palmer <wapdesign@wapdesign.org.uk>
Date: Thu, 7 Sep 2000 20:24:27 +0100
Message-ID: <002601c01901$75cffac0$22dd93c3@z5n9x1>
To: <xmlschema-dev@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:18 GMT