<?xml version="1.0" encoding="UTF-8"?>
<!--
  exc-c14n.rnc (derived from exc-c14n.xsd)
  
  Copyright 2011 W3C (Massachusetts Institute of Technology, 
  Institut National de Recherche en Informatique et en Automatique, 
  Keio University). All Rights Reserved.  http://www.w3.org/Consortium/Legal/
  
  Use and distribution of all schemas in this directory are permitted under the terms
  W3C Software Notice and License
  http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
  
  This RELAX NG schema allows the use of two algorithms, namely 
  
    http://www.w3.org/2001/10/xml-exc-c14n# and 
    http://www.w3.org/2001/10/xml-exc-c14n#WithComments,
  
  in ds_CanonicalizationMethodType, which specifies permissible
  contents of Transform or CanonicalizationMethod elements.
  
  The definition of ds_CanonicalizationMethodType in this schema is 
  combined with the other definitions of ds_CanonicalizationMethodType
  by the choice operator.
-->
<grammar ns="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <define name="ds_CanonicalizationMethodType" combine="choice">
    <attribute name="Algorithm">
      <choice>
        <value type="anyURI">http://www.w3.org/2001/10/xml-exc-c14n#</value>
        <value type="anyURI">http://www.w3.org/2001/10/xml-exc-c14n#WithComments</value>
      </choice>
    </attribute>
    <optional>
      <ref name="ec_InclusiveNamespaces"/>
    </optional>
  </define>
  <define name="ec_InclusiveNamespaces">
    <element name="InclusiveNamespaces">
      <attribute name="PrefixList">
        <data type="NMTOKENS"/>
      </attribute>
    </element>
  </define>
  <!-- List of known algorithms -->
  <define name="ds_CanonicalizationAlgorithms" combine="choice">
    <choice>
      <value type="anyURI">http://www.w3.org/2001/10/xml-exc-c14n#</value>
      <value type="anyURI">http://www.w3.org/2001/10/xml-exc-c14n#WithComments</value>
    </choice>
  </define>
</grammar>
