<html>
<head>
<title>&lt;xsl:import&gt;</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">&lt;xsl:import&gt;</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description">
 XSLT X^CV[gɊ܂܂ꂽev[gǂݍނƂł܂B<span class="LITERAL">&lt;xsl:include&gt;</span> Ƃ͈قȂA<span class="LITERAL">&lt;xsl:import&gt;</span> gpēǂݍ񂾂ׂẴev[ǵAX^CV[gɊ܂܂ev[gD揇ʂႭȂ܂B܂ <span class="LITERAL">&lt;xsl:include&gt;</span>  <span class="LITERAL">&lt;xsl:import&gt;</span> ̂̑̑_ƂāA<span class="LITERAL">&lt;xsl:include&gt;</span> ̓X^CV[g̔Cӂ̏ꏊɎwł܂A<span class="LITERAL">&lt;xsl:import&gt;</span> ̓X^CV[g̐擪ɂwłȂƂ܂B</td></tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">JeS</td>
</tr>
<tr>
<td colspan="2" class="description">
<p>gbvxvf</p>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">K{̑</td>
</tr>
<tr>
<td colspan="2" class="description">
<dl>
<dt>
href
</dt>
<dd>
ǂݍ܂ꂽX^CV[g URI `܂B
<P></p>
</dl>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">ȗ\ȑ</td>
</tr>
<tr>
<td colspan="2" class="description">
<p>ȂB</p>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Rec</td>
</tr>
<tr>
<td colspan="2" class="description">
<p>ȂB<span class="LITERAL">&lt;xsl:import&gt;</span> ̗͋vfłB</p>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">w</td>
</tr>
<tr>
<td colspan="2" class="description">
<p>
<span class="LITERAL">&lt;xsl:import&gt;</span> ́AgbvxvfłA<span class="LITERAL">&lt;xsl:stylesheet&gt;</span> ̎qƂĂ̂ݎgpł܂B </p>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">`</td>
</tr>
<tr>
<td colspan="2" class="description">
<p>XSLT 2.6.2 ߁uStylesheet Importv </p>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">
<p>̊ȒPȃX^CV[gǂݍ݂܂B</p>
<span class="PROGRAMLISTING"><pre>
&lt;?xml version="1.0"?&gt;
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;

  &lt;xsl:output method="text"/&gt;

  &lt;xsl:variable name="newline"&gt;
&lt;xsl:text&gt;
&lt;/xsl:text&gt;
  &lt;/xsl:variable&gt;

<!--<?troff .Nd 10?>-->
  &lt;xsl:template match="/"&gt;
    &lt;xsl:value-of select="$newline"/&gt;
    &lt;xsl:apply-templates select="list/title"/&gt;
    &lt;xsl:apply-templates select="list/listitem"/&gt;
  &lt;/xsl:template&gt;

  &lt;xsl:template match="title"&gt;
    &lt;xsl:value-of select="."/&gt;
    &lt;xsl:text&gt;: &lt;/xsl:text&gt;
    &lt;xsl:value-of select="$newline"/&gt;
    &lt;xsl:value-of select="$newline"/&gt;
  &lt;/xsl:template&gt;

  &lt;xsl:template match="listitem"&gt;
    &lt;xsl:text&gt;HERE IS LISTITEM NUMBER &lt;/xsl:text&gt;
    &lt;xsl:value-of select="position()"/&gt;
    &lt;xsl:text&gt;:  &lt;/xsl:text&gt;
    &lt;xsl:value-of select="."/&gt;
    &lt;xsl:value-of select="$newline"/&gt;
  &lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;</pre></span>
<p>̃X^CV[gƁÃX^CV[gǂݍ񂾃X^CV[g̗ XML hLgɎgpăeXg܂B</p>
<span class="PROGRAMLISTING"><pre>
&lt;?xml version="1.0"?&gt;
&lt;list&gt;
  &lt;title&gt;A few of my favorite albums&lt;/title&gt;
  &lt;listitem&gt;A Love Supreme&lt;/listitem&gt;
  &lt;listitem&gt;Beat Crazy&lt;/listitem&gt;
  &lt;listitem&gt;Here Come the Warm Jets&lt;/listitem&gt;
  &lt;listitem&gt;Kind of Blue&lt;/listitem&gt;
  &lt;listitem&gt;London Calling&lt;/listitem&gt;
  &lt;listitem&gt;Remain in Light&lt;/listitem&gt;
  &lt;listitem&gt;The Joshua Tree&lt;/listitem&gt;
  &lt;listitem&gt;The Indestructible Beat of Soweto&lt;/listitem&gt;
&lt;/list&gt;</pre></span>
<p>̃X^CV[ggp XML \[XhLgʂ͎̂ƂłB</p>
<span class="PROGRAMLISTING"><pre>
A few of my favorite albums:

HERE IS LISTITEM NUMBER 1:  A Love Supreme
HERE IS LISTITEM NUMBER 2:  Beat Crazy
HERE IS LISTITEM NUMBER 3:  Here Come the Warm Jets
HERE IS LISTITEM NUMBER 4:  Kind of Blue
HERE IS LISTITEM NUMBER 5:  London Calling
HERE IS LISTITEM NUMBER 6:  Remain in Light
HERE IS LISTITEM NUMBER 7:  The Joshua Tree
HERE IS LISTITEM NUMBER 8:  The Indestructible Beat of Soweto</pre></span>
<p><span class="LITERAL">&lt;xsl:import&gt;</span> gpʂ̃X^CV[gɎ܂B</p>
<span class="PROGRAMLISTING"><pre>
&lt;?xml version="1.0"?&gt;
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;

  &lt;xsl:import href="listitem.xsl"/&gt;

  &lt;xsl:output method="text"/&gt;

  &lt;xsl:variable name="newline"&gt;
&lt;xsl:text&gt;
&lt;/xsl:text&gt;
  &lt;/xsl:variable&gt;

  &lt;xsl:template match="/"&gt;
    &lt;xsl:value-of select="$newline"/&gt;
    &lt;xsl:apply-templates select="list/title"/&gt;
    &lt;xsl:apply-templates select="list/listitem"/&gt;
  &lt;/xsl:template&gt;

  &lt;xsl:template match="listitem"&gt;
    &lt;xsl:value-of select="position()"/&gt;
    &lt;xsl:text&gt;.  &lt;/xsl:text&gt;
    &lt;xsl:value-of select="."/&gt;
    &lt;xsl:value-of select="$newline"/&gt;
  &lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;</pre></span>
<p> 2 ڂ̃X^CV[gɂ쐬ꂽʂ͎̂ƂłB</p>
<span class="PROGRAMLISTING"><pre>
A few of my favorite albums:

1.  A Love Supreme
2.  Beat Crazy
3.  Here Come the Warm Jets
4.  Kind of Blue
5.  London Calling
6.  Remain in Light
7.  The Joshua Tree
8.  The Indestructible Beat of Soweto</pre></span>
<p>̃X^CV[gɁA<span class="LITERAL">match="listitem"</span> gpăev[gw肳Ă܂Bǂݍ܂ꂽX^CV[g̃ev[g͗D揇ʂႢ߁Agp܂B܂A<span class="LITERAL">match="title"</span> gpev[g͓ǂݍ܂ꂽX^CV[gɂ̂ݎw肳Ă̂ŁAǂݍ܂ꂽev[g <span class="LITERAL">&lt;title&gt;</span> vfɑ΂Ďgp܂B </p>
</td>
</tr>
</table>
</div>
</body>
</html>
