aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/xslt/element/key/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/xslt/element/key/index.html')
-rw-r--r--files/ko/web/xslt/element/key/index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/files/ko/web/xslt/element/key/index.html b/files/ko/web/xslt/element/key/index.html
new file mode 100644
index 0000000000..733196810d
--- /dev/null
+++ b/files/ko/web/xslt/element/key/index.html
@@ -0,0 +1,35 @@
+---
+title: key
+slug: Web/XSLT/key
+tags:
+ - XSLT_Reference
+translation_of: Web/XSLT/Element/key
+---
+<p>{{ XsltRef() }}</p>
+<p><code>&lt;xsl:key&gt;</code> 요소는 <code>key( )</code> 함수가 있는 스타일시트 어디서나 쓸 수 있는 이름 붙은 키를 선언합니다.</p>
+<h3 id=".EB.AC.B8.EB.B2.95" name=".EB.AC.B8.EB.B2.95">문법</h3>
+<pre>&lt;xsl:key name=NAME match=EXPRESSION
+ use=EXPRESSION /&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>name</code></dt>
+ <dd>
+ 이 키에 이름을 지정합니다. QName이어야 합니다.</dd>
+ <dt>
+ <code>match</code></dt>
+ <dd>
+ 이 키를 적용할 수 있는 노드를 정의합니다.</dd>
+ <dt>
+ <code>use</code></dt>
+ <dd>
+ 적용가능한 각 노드에 키값을 결정하는데 쓸 수 있는 XPath 식을 지정합니다.</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:stylesheet&gt;</code>나 <code>&lt;xsl:transform&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#key">XSLT section 12.2, Keys</a></p>
+<h3 id="Gecko_.EC.A7.80.EC.9B.90" name="Gecko_.EC.A7.80.EC.9B.90">Gecko 지원</h3>
+<p>지원함.</p>