diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
| commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
| tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/xslt/element/choose | |
| parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
| download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip | |
initial commit
Diffstat (limited to 'files/ja/web/xslt/element/choose')
| -rw-r--r-- | files/ja/web/xslt/element/choose/index.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/files/ja/web/xslt/element/choose/index.html b/files/ja/web/xslt/element/choose/index.html new file mode 100644 index 0000000000..271da40185 --- /dev/null +++ b/files/ja/web/xslt/element/choose/index.html @@ -0,0 +1,41 @@ +--- +title: '<xsl:choose>' +slug: Web/XSLT/Element/choose +tags: + - XSLT + - choose + - リファレンス + - 要素 +translation_of: Web/XSLT/Element/choose +--- +<p>{{ XsltRef() }}</p> + +<p><code><xsl:choose></code> 要素はいくつかの選択肢の中から選択肢を定義します。 手続き型言語の switch 文のように振る舞います。</p> + +<h3 id="Syntax" name="Syntax">構文</h3> + +<pre><xsl:choose> + <xsl:when test="[whatever to test1]"></xsl:when> + <xsl:when test="[whatever to test2]"></xsl:when> + <xsl:otherwise></xsl:otherwise> [optional] +</xsl:choose></pre> + +<h3 id="Required_Attributes" name="Required_Attributes">必須属性</h3> + +<p>なし</p> + +<h3 id="Optional_Attributes" name="Optional_Attributes">任意属性</h3> + +<p>なし</p> + +<h3 id="Type" name="Type">タイプ</h3> + +<p>インストラクションはテンプレートとともに表示されます。1つまたは複数の <code><xsl:when></code> 要素と、オプションで最後の <code><xsl:otherwise></code> 要素を含みます。</p> + +<h3 id="Defined" name="Defined">定義</h3> + +<p>XSLT, section 9.2.</p> + +<h3 id="Gecko_support" name="Gecko_support">Gecko のサポート</h3> + +<p>サポート済み</p> |
