aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/xslt/element/when/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/xslt/element/when/index.html')
-rw-r--r--files/ko/web/xslt/element/when/index.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/files/ko/web/xslt/element/when/index.html b/files/ko/web/xslt/element/when/index.html
new file mode 100644
index 0000000000..4d5f52d9c3
--- /dev/null
+++ b/files/ko/web/xslt/element/when/index.html
@@ -0,0 +1,28 @@
+---
+title: when
+slug: Web/XSLT/when
+tags:
+ - XSLT_Reference
+translation_of: Web/XSLT/Element/when
+---
+<p>{{ XsltRef() }}</p>
+<p><code>&lt;xsl:when&gt;</code> 요소는 항상 case 문처럼 동작하는 <code>&lt;xsl:choose&gt;</code> 요소 안에 나타납니다.</p>
+<h3 id=".EB.AC.B8.EB.B2.95" name=".EB.AC.B8.EB.B2.95">문법</h3>
+<pre>&lt;xsl:when test=EXPRESSION&gt;
+ TEMPLATE
+&lt;/xsl:when&gt;</pre>
+<h3 id=".ED.95.84.EC.88.98_.EC.86.8D.EC.84.B1" name=".ED.95.84.EC.88.98_.EC.86.8D.EC.84.B1">필수 속성</h3>
+<dl>
+ <dt>
+ <code>test</code></dt>
+ <dd>
+ 평가할 boolean 식을 지정합니다. 참이면, 요소의 컨텐트는 처리하고 거짓이면, 무시합니다.</dd>
+</dl>
+<h3 id=".EC.84.A0.ED.83.9D_.EC.86.8D.EC.84.B1" name=".EC.84.A0.ED.83.9D_.EC.86.8D.EC.84.B1">선택 속성</h3>
+<p>없음.</p>
+<h3 id=".ED.83.80.EC.9E.85" name=".ED.83.80.EC.9E.85">타입</h3>
+<p>하위명령, 항상 <code>&lt;xsl:choose&gt;</code> 요소 안에 나타남.</p>
+<h3 id=".EC.A0.95.EC.9D.98" name=".EC.A0.95.EC.9D.98">정의</h3>
+<p><a class="external" href="http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:choose">XSLT section 9.2, Conditional Processing with xsl:choose</a></p>
+<h3 id="Gecko_.EC.A7.80.EC.9B.90" name="Gecko_.EC.A7.80.EC.9B.90">Gecko 지원</h3>
+<p>지원함.</p>