<xsl:include> の例
<xsl:include>
の使用例を次に示します。
XML ファイル (collection.xml)
XSLT ファイル (xslinclude.xsl)
インクルードされる XSLT ファイル (xslincludefile.xsl)
出力
これは書式付き出力です。
Title - Lover Birds Author - Cynthia Randall Publisher - Ballantine Books
Title - Catwings Author - Eva Corets Publisher - Lucerne Publishing
Title - Home Town Author - Paula Thurman Publisher - Scootney
これはプロセッサ出力です。
Title - Lover Birds<BR />
Author - Cynthia Randall<BR />
Publisher - Lucerne Publishing<BR /><BR />
Title - Catwings<BR />
Author - Eva Corets<BR />
Publisher - Lucerne Publishing<BR /><BR />
Title - Splish Splash<BR />
Author - Paula Thurman<BR />
Publisher - Scootney<BR /><BR />