<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
  <transformURI fromPattern="*.xml" toPattern="*.rnc"/>

  <uri pattern="*.xsl" typeId="XSLT"/>
  <uri pattern="*.html" typeId="XHTML"/>
  <uri pattern="*.rng" typeId="RELAX NG"/>
  <uri pattern="*.rdf" typeId="RDF"/>
  
  <namespace ns="http://www.w3.org/1999/XSL/Transform" typeId="XSLT"/>
  <namespace ns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" typeId="RDF"/>
  <namespace ns="http://www.w3.org/1999/xhtml" typeId="XHTML"/>
  <namespace ns="http://relaxng.org/ns/structure/1.0" typeId="RELAX NG"/>
  <namespace ns="http://thaiopensource.com/ns/locating-rules/1.0"
	     uri="locate.rnc"/>

  <documentElement localName="stylesheet" typeId="XSLT"/>
  <documentElement prefix="xsl" localName="transform" typeId="XSLT"/>

  <documentElement localName="html" typeId="XHTML"/>

  <documentElement localName="grammar" typeId="RELAX NG"/>

  <documentElement prefix="" localName="article" typeId="DocBook"/>
  <documentElement prefix="" localName="book" typeId="DocBook"/>

  <documentElement localName="RDF" typeId="RDF"/>
  <documentElement prefix="rdf" typeId="RDF"/>
  
  <documentElement localName="locatingRules" uri="locate.rnc"/>

  <typeId id="XSLT" uri="xslt.rnc"/>
  <typeId id="RELAX NG" uri="relaxng.rnc"/>
  <typeId id="XHTML" uri="xhtml.rnc"/>
  <typeId id="DocBook" uri="docbook.rnc"/>
  <typeId id="RDF" uri="rdfxml.rnc"/>
</locatingRules>
