<html xmlns="http://www.w3.org/1999/xhtml" a0:Name="SuikaWiki" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:Version="0.9"><head></head><body><p><a0:anchor-end a0:anchor="1">[1]</a0:anchor-end> <code class="XSLTe"><var>xslt:</var>apply-imports</code>
要素型は、<a0:anchor>輸入</a0:anchor>先の上書きされた<a0:anchor>雛形規則</a0:anchor>を適用するのに使います。
<a0:anchor-external a0:resParameter="http://www.w3.org/TR/xslt#element-apply-imports" a0:resScheme="URI">http://www.w3.org/TR/xslt#element-apply-imports</a0:anchor-external>。</p><p>雛形規則中の任意の位置に置けます。
<a0:anchor>強制空要素</a0:anchor>です。<a0:anchor>属性</a0:anchor>はありません。</p><p><a0:anchor-end a0:anchor="2">[2]</a0:anchor-end> <a0:anchor>oo</a0:anchor> でいうところの、 super class
の自 method を呼び出し、みたいなものです。
<a0:weak>(<a0:anchor>perl</a0:anchor> でいうと <code class="perl"><a0:anchor>SUPER</a0:anchor>-&gt;<var>method</var> ()</code>。)</a0:weak></p><p><a0:anchor-end a0:anchor="3">[3]</a0:anchor-end> 例えば、<pre>&lt;stylesheet&gt;
  &lt;import src=&quot;#foo&quot;/&gt;
  &lt;templates match=&quot;el&quot;&gt;
    &lt;outer&gt;
      &lt;apply-imports/&gt;
    &lt;/outer&gt;
  &lt;/templates&gt;
&lt;/stylesheet&gt;

&lt;stylesheet id=&quot;foo&quot;&gt;
  &lt;templates match=&quot;el&quot;&gt;
    &lt;inner&gt;
      &lt;apply-templates/&gt;
    &lt;/inner&gt;
  &lt;/templates&gt;
&lt;/stylesheet&gt;</pre><p>は、<pre>&lt;stylesheet&gt;
  &lt;templates match=&quot;el&quot;&gt;
    &lt;outer&gt;
      &lt;inner&gt;
        &lt;apply-templates/&gt;
      &lt;/inner&gt;
    &lt;/outer&gt;
  &lt;/templates&gt;
&lt;/stylesheet&gt;</pre><p>と似たような結果が得られるのです。</p></p></p></body></html>