<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <!--
    xenc11-allowAnyForeign.rnc
    
    This schema is expected to be used together with xenc-schema-11.rnc.
    
    This schema mimicks <any ../> in xenc-schema-11.xsd.
    It allows any foreign element as a child of the KeyDerivationMethod
    element.
  -->
  <define name="xenc11_KeyDerivationMethodType" combine="choice">
    <attribute name="Algorithm">
      <data type="anyURI">
        <except>
          <ref name="xenc11_KeyDerivationAlgorithms"/>
        </except>
      </data>
    </attribute>
    <zeroOrMore>
      <ref name="xenc11_anyForeignElement"/>
    </zeroOrMore>
  </define>
</grammar>
