<html>
<head>
<title>&lt;xsl:text&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:text&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">
eeLXgo̓hLgɏނƂł܂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></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">
<p>Ȃ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">
<dl>
<dt>
disable-output-escaping
</dt>
<dd>
o̓hLgւ̏ݎɓꕶGXP[v邩ǂ`܂BƂ΁AeeLXgɕ <span class="LITERAL"> &gt; </span> ܂܂ĂꍇA͒̕ʏ <span class="LITERAL"> &amp; gt; </span> Ƃďo̓hLgɏ܂܂B<span class="LITERAL"> disable-output-escaping= " yes " </span> R[fBOꍇ́Aɕ <span class="LITERAL"> &gt; </span> ܂܂BXSLT vZbTł́A<span class="LITERAL"> html </span> ܂ <span class="LITERAL"> xml </span> o͕@gpĂꍇɂ̂݁Ȃgp܂B<span class="LITERAL"> &lt; xsl:output method= " text " &gt; </span> gpĂꍇ́A<span class="LITERAL"> text </span> o͕@ɑ΂ďo̓GXP[vsĂȂ߁A܂B
<P></p>
</dl>
</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>
<span class="LITERAL">#PCDATA</span>AeeLXgAуGeBeBQƁ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:text&gt;</span> ev[gɎw肵܂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 7.2 ߁ueLXg̍쐬v </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>̃TvX^CV[gɂA<span class="LITERAL">&lt;xsl:text&gt;</span> gpeLXg܂Bѐ̂镶쐬邽߂ɁA<span class="LITERAL">&lt;xsl:text&gt;</span> vf <span class="LITERAL">&lt;xsl:value-of&gt;</span> vf݂Ă܂Bł́AeLXghLg𐶐܂A̕@ HTML ܂ XML vf̃eLXg𐶐ꍇɂKĂ܂BX^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;

  &lt;xsl:template match="/"&gt;
    &lt;xsl:text&gt;Your document contains &lt;/xsl:text&gt;
    &lt;xsl:value-of select="count(//*)"/&gt;
    &lt;xsl:text&gt; elements and &lt;/xsl:text&gt;
    &lt;xsl:value-of select="count(//@*)"/&gt;
    &lt;xsl:text&gt; attributes. &lt;/xsl:text&gt;
    &lt;xsl:value-of select="$newline"/&gt;
    &lt;xsl:text disable-output-escaping="yes"&gt;&lt;Have a great day!&gt;&lt;/xsl:text&gt;
  &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;</pre></span>
<p>s𐶐邽߂ <span class="LITERAL">&lt;xsl:variable&gt;</span> gpĂ܂B<span class="LITERAL">&lt;xsl:variable&gt;</span> vf <span class="LITERAL">&lt;xsl:text&gt;</span> vfɂ͉s܂܂܂BāA̕ϐ̒lʃc[ɏނƁAKvȉs񋟂܂B XML hLggp܂B</p>
<span class="PROGRAMLISTING"><pre>
&lt;?xml version="1.0"?&gt;
&lt;list xml:lang="en"&gt;
  &lt;title&gt;Albums I've bought recently:&lt;/title&gt;
  &lt;listitem&gt;The Sacred Art of Dub&lt;/listitem&gt;
  &lt;listitem&gt;Only the Poor Man Feel It&lt;/listitem&gt;
  &lt;listitem&gt;Excitable Boy&lt;/listitem&gt;
  &lt;listitem xml:lang="sw"&gt;Aki Special&lt;/listitem&gt;
  &lt;listitem xml:lang="en-gb"&gt;Combat Rock&lt;/listitem&gt;
  &lt;listitem xml:lang="zu"&gt;Talking Timbuktu&lt;/listitem&gt;
  &lt;listitem xml:lang="jz"&gt;The Birth of the Cool&lt;/listitem&gt;
&lt;/list&gt;</pre></span>
<p>X^CV[ǵÂ悤Ȍʂ܂B</p>
<span class="PROGRAMLISTING"><pre>
Your document contains 9 elements and 5 attributes.
&lt;Have a great day!&gt;</pre></span>
<p><span class="LITERAL">text</span> o͕@gpĂ邽߁A<span class="LITERAL">disable-output-escaping</span> ͖ɂȂ܂B<span class="LITERAL">&lt;xsl:output method="html"/&gt;</span> ܂ <span class="LITERAL">&lt;xsl:output method="xml"/&gt;</span> gp悤X^CV[gύXƁA<span class="LITERAL">disable-output-escaping</span> gp܂B<span class="LITERAL">disable-output-escaping="yes"</span> gpꍇ̌ʂ͎̂ƂłB</p>
<span class="PROGRAMLISTING"><pre>
Your document contains 10 elements and 2 attributes.
&lt;Have a great day!&gt;</pre></span>
<p>ݒl <span class="LITERAL">disable-output-escaping="no"</span> gpꍇ̌ʂ͎̂ƂłB</p>
<span class="PROGRAMLISTING"><pre>
Your document contains 10 elements and 2 attributes.
&amp;lt;Have a great day!&amp;gt;</pre></span>
</td>
</tr>
</table>
</div>
</body>
</html>
