[1] xslt:apply-imports
要素型は、輸入先の上書きされた雛形規則を適用するのに使います。
<http://www.w3.org/TR/xslt#element-apply-imports>。
雛形規則中の任意の位置に置けます。 強制空要素です。属性はありません。
[2] oo でいうところの、 super class
の自 method を呼び出し、みたいなものです。
(perl でいうと SUPER->method ()。)
[3] 例えば、
<stylesheet>
<import src="#foo"/>
<templates match="el">
<outer>
<apply-imports/>
</outer>
</templates>
</stylesheet>
<stylesheet id="foo">
<templates match="el">
<inner>
<apply-templates/>
</inner>
</templates>
</stylesheet>は、
<stylesheet>
<templates match="el">
<outer>
<inner>
<apply-templates/>
</inner>
</outer>
</templates>
</stylesheet>と似たような結果が得られるのです。