<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <!--
    xmlsec-gh-allowAnyForeign.rnc
    
    This schema is expected to be used together with xmlsec-gh-schema.rnc.
    
    This schemas mimicks <any ...> in xmlsec-gh-schema.xsd by
    allowing any elment as a child of the KeyEncapsulationMethod element.
  -->
  <define name="gh_KeyEncapsulationMethodParams" combine="choice">
    <attribute name="Algorithm">
      <data type="anyURI">
        <except>
          <ref name="gh_KeyEncapsulationAlgorithms"/>
        </except>
      </data>
    </attribute>
    <zeroOrMore>
      <ref name="gh_anyForeignElement"/>
    </zeroOrMore>
  </define>
</grammar>
