<!-- An experimental MNS schema for
     XHTML2+MathML+SVG+EGIX+ContactXML+HLink+RDF+XMLCharEnt 
     $Id: hybrid.mns,v 1.4 2003/03/28 08:23:51 mimasa Exp $
-->
<rules xmlns="http://www.thaiopensource.com/ns/mns" startMode="xhtml">
  <!-- allow XHTML's 'link', 'script' and 'style' elements -->
  <validate ns="http://www.w3.org/1999/xhtml"
            schema="xhtml-head.rng"
            inModes="stuff-in-head">
    <cover ns="http://www.w3.org/XML/1998/namespace"/>
  </validate>
  <validate ns="http://www.w3.org/2002/06/hlink"
            schema="hlink.rng"
            inModes="stuff-in-head"/>
  <validate ns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
            schema="rdfxml.rng"
            inModes="stuff-in-head"
            useMode="anything"/>
  <validate ns="http://www.xmlns.org/2002/ContactXML"
            schema="ContactXML_v1.1.rng"
            inModes="address">
    <cover ns="http://www.w3.org/XML/1998/namespace"/>
  </validate>
  <validate ns="http://www.w3.org/2002/06/xhtml2"
            schema="xhtml2-math-svg-egix-xmlcharent.rng"
            inModes="xhtml"
            prune="elements">
    <cover ns="http://www.w3.org/XML/1998/namespace"/>
    <cover ns="http://www.w3.org/2001/xml-events"/>
    <cover ns="http://www.w3.org/1998/Math/MathML"/>
    <cover ns="http://www.w3.org/2000/svg"/>
    <cover ns="http://www.w3.org/1999/xlink"/>
    <cover ns="http://www.xml.gr.jp/PRE/Reference"/>
    <cover ns="http://www.oasis-open.org/docbook/xmlcharent/names"/>
    <context useMode="stuff-in-head">
      <element name="head"/>
    </context>
    <context useMode="address">
      <element name="address"/>
    </context>
  </validate>
  <lax inModes="anything"/>
</rules>
