aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/xpath/axes/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/xpath/axes/index.html')
-rw-r--r--files/ko/web/xpath/axes/index.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/files/ko/web/xpath/axes/index.html b/files/ko/web/xpath/axes/index.html
new file mode 100644
index 0000000000..77fc7630b2
--- /dev/null
+++ b/files/ko/web/xpath/axes/index.html
@@ -0,0 +1,70 @@
+---
+title: Axes
+slug: Web/XPath/Axes
+tags:
+ - XPath
+ - XPath_Reference
+ - XSLT_Reference
+translation_of: Web/XPath/Axes
+---
+<p>{{ XsltRef() }} <a href="ko/XPath">XPath</a> 명세에는 축이 13가지가 있습니다. 축은 문맥 노드와의 관계를 나타내고 트리 위에 문맥 노드에 대응하여 노드를 위치시킬 때 씁니다. 다음은 이용가능한 축 13가지와 <a href="ko/Gecko">Gecko</a>에서 가능한 지원 정도에 대한 매우 짧은 설명입니다.</p>
+<p>XPath 식 사용에 관한 추가 정보는, <a href="ko/Transforming_XML_with_XSLT">Transforming XML with XSLT</a> 문서 끝 <a href="ko/Transforming_XML_with_XSLT/For_Further_Reading">For Further Reading</a> 절을 보세요.</p>
+<p> </p>
+<dl>
+ <dt>
+ <a href="ko/XPath/Axes/ancestor">ancestor</a></dt>
+ <dd>
+ 부모 노드부터 시작하여 루트 노드까지 항해하는 문맥 노드의 모든 조상을 나타냅니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/ancestor-or-self">ancestor-or-self</a></dt>
+ <dd>
+ 문맥 노드와 루트 노드를 포함하는 문맥 노드의 조상 모두를 나타냅니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/attribute">attribute</a></dt>
+ <dd>
+ 문맥 노드의 속성을 나타냅니다. 오직 요소만 속성이 있습니다. 이 축은 at sign(<code>@</code>)으로 줄여 쓸 수 있습니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/child">child</a></dt>
+ <dd>
+ 문맥 노드의 자식을 나타냅니다. XPath 식이 축을 지정하지 않으면 기본값으로 이해합니다. 오직 루트 노드나 요소 노드만 자식이 있기 때문에, 다른 경우에는 아무것도 선택하지 않습니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/descendant">descendant</a></dt>
+ <dd>
+ 문맥 노드의 모든 자식과 자식의 자식 따위를 나타냅니다. 속성과 이름공간 노드는 포함하지 <b>않습니다</b>. <code>속성</code> 노드의 <code>parent</code> 축이 요소 노드이지만 <code>속성</code> 노드는 그 부모의 자식이 아닙니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/descendant-or-self">descendant-or-self</a></dt>
+ <dd>
+ 문맥 노드와 문맥 노드의 모든 자손을 나타냅니다. 속성과 이름공간 노드는 포함하지 <b>않습니다</b>. <code>속성</code> 노드의 <code>parent</code> 축이 요소 노드이지만 <code>속성</code> 노드는 그 부모의 자식이 아닙니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/following">following</a></dt>
+ <dd>
+ <code>자손</code>, <code>속성</code>, <code>이름공간</code> 노드를 제외한 문맥 노드 다음에 나오는 모든 노드를 나타냅니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/following-sibling">following-sibling</a></dt>
+ <dd>
+ 문맥 노드와 부모가 같고 소스 문서에서 문맥 노드 다음에 보이는 모든 노드를 나타냅니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/namespace">namespace</a>
+ <i>
+ (지원 안 함)</i>
+ </dt>
+ <dd>
+ 문맥 노드 범위(scope) 안에 있는 모든 노드를 나타냅니다. 이 경우에, 문맥 노드는 요소 노드이어야 합니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/parent">parent</a></dt>
+ <dd>
+ 문맥 노드의 부모 노드만을 나타냅니다. 마침표 둘(<code>..</code>)로 줄여 쓸 수 있습니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/preceding">preceding</a></dt>
+ <dd>
+ <code>조상</code>, <code>속성</code>, <code>이름공간</code> 노드를 제외한 문서 안에서 문맥 노드를 앞선 모든 노드를 나타냅니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/preceding-sibling">preceding-sibling</a></dt>
+ <dd>
+ 문맥 노드와 부모가 같고 소스 문서에서 문맥 노드 앞에 나오는 모든 노드를 나타냅니다.</dd>
+ <dt>
+ <a href="ko/XPath/Axes/self">self</a></dt>
+ <dd>
+ 문맥 노드 자신를 나타냅니다. 마침표 하나(<code>.</code>)로 줄여 쓸 수 있습니다.</dd>
+</dl>
+<p>{{ languages( { "en": "en/XPath/Axes", "pl": "pl/XPath/Osie" } ) }}</p>