From ee778d6eea54935fd05022e0ba8c49456003381a Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:48:24 +0100 Subject: unslug ko: move --- files/ko/web/xslt/element/apply-imports/index.html | 22 +++ .../ko/web/xslt/element/apply-templates/index.html | 33 ++++ files/ko/web/xslt/element/attribute-set/index.html | 33 ++++ files/ko/web/xslt/element/attribute/index.html | 33 ++++ files/ko/web/xslt/element/call-template/index.html | 29 ++++ files/ko/web/xslt/element/choose/index.html | 24 +++ files/ko/web/xslt/element/comment/index.html | 23 +++ files/ko/web/xslt/element/copy-of/index.html | 26 ++++ files/ko/web/xslt/element/copy/index.html | 28 ++++ .../ko/web/xslt/element/decimal-format/index.html | 100 ++++++++++++ files/ko/web/xslt/element/fallback/index.html | 23 +++ files/ko/web/xslt/element/for-each/index.html | 29 ++++ files/ko/web/xslt/element/if/index.html | 28 ++++ files/ko/web/xslt/element/import/index.html | 26 ++++ files/ko/web/xslt/element/include/index.html | 26 ++++ files/ko/web/xslt/element/key/index.html | 35 +++++ files/ko/web/xslt/element/message/index.html | 28 ++++ .../ko/web/xslt/element/namespace-alias/index.html | 30 ++++ files/ko/web/xslt/element/number/index.html | 173 +++++++++++++++++++++ files/ko/web/xslt/element/otherwise/index.html | 23 +++ files/ko/web/xslt/element/output/index.html | 90 +++++++++++ files/ko/web/xslt/element/param/index.html | 33 ++++ .../ko/web/xslt/element/preserve-space/index.html | 26 ++++ .../xslt/element/processing-instruction/index.html | 26 ++++ files/ko/web/xslt/element/sort/index.html | 55 +++++++ files/ko/web/xslt/element/strip-space/index.html | 26 ++++ files/ko/web/xslt/element/stylesheet/index.html | 52 +++++++ files/ko/web/xslt/element/template/index.html | 51 ++++++ files/ko/web/xslt/element/text/index.html | 28 ++++ files/ko/web/xslt/element/transform/index.html | 11 ++ files/ko/web/xslt/element/value-of/index.html | 31 ++++ files/ko/web/xslt/element/variable/index.html | 33 ++++ files/ko/web/xslt/element/when/index.html | 28 ++++ files/ko/web/xslt/element/with-param/index.html | 33 ++++ 34 files changed, 1295 insertions(+) create mode 100644 files/ko/web/xslt/element/apply-imports/index.html create mode 100644 files/ko/web/xslt/element/apply-templates/index.html create mode 100644 files/ko/web/xslt/element/attribute-set/index.html create mode 100644 files/ko/web/xslt/element/attribute/index.html create mode 100644 files/ko/web/xslt/element/call-template/index.html create mode 100644 files/ko/web/xslt/element/choose/index.html create mode 100644 files/ko/web/xslt/element/comment/index.html create mode 100644 files/ko/web/xslt/element/copy-of/index.html create mode 100644 files/ko/web/xslt/element/copy/index.html create mode 100644 files/ko/web/xslt/element/decimal-format/index.html create mode 100644 files/ko/web/xslt/element/fallback/index.html create mode 100644 files/ko/web/xslt/element/for-each/index.html create mode 100644 files/ko/web/xslt/element/if/index.html create mode 100644 files/ko/web/xslt/element/import/index.html create mode 100644 files/ko/web/xslt/element/include/index.html create mode 100644 files/ko/web/xslt/element/key/index.html create mode 100644 files/ko/web/xslt/element/message/index.html create mode 100644 files/ko/web/xslt/element/namespace-alias/index.html create mode 100644 files/ko/web/xslt/element/number/index.html create mode 100644 files/ko/web/xslt/element/otherwise/index.html create mode 100644 files/ko/web/xslt/element/output/index.html create mode 100644 files/ko/web/xslt/element/param/index.html create mode 100644 files/ko/web/xslt/element/preserve-space/index.html create mode 100644 files/ko/web/xslt/element/processing-instruction/index.html create mode 100644 files/ko/web/xslt/element/sort/index.html create mode 100644 files/ko/web/xslt/element/strip-space/index.html create mode 100644 files/ko/web/xslt/element/stylesheet/index.html create mode 100644 files/ko/web/xslt/element/template/index.html create mode 100644 files/ko/web/xslt/element/text/index.html create mode 100644 files/ko/web/xslt/element/transform/index.html create mode 100644 files/ko/web/xslt/element/value-of/index.html create mode 100644 files/ko/web/xslt/element/variable/index.html create mode 100644 files/ko/web/xslt/element/when/index.html create mode 100644 files/ko/web/xslt/element/with-param/index.html (limited to 'files/ko/web/xslt/element') diff --git a/files/ko/web/xslt/element/apply-imports/index.html b/files/ko/web/xslt/element/apply-imports/index.html new file mode 100644 index 0000000000..9377bd2538 --- /dev/null +++ b/files/ko/web/xslt/element/apply-imports/index.html @@ -0,0 +1,22 @@ +--- +title: apply-imports +slug: Web/XSLT/apply-imports +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/apply-imports +--- +

{{ XsltRef() }}

+


+ <xsl:apply-imports> 요소는 꽤 불가사의하고 보통은 복잡한 스타일시트에 쓰입니다. 가져오기(import) 우선순위는 가져온 스타일시트 안 템플릿 규칙보다 주 스타일시트의 안 템플릿 규칙이 더 높기를 요구합니다. 그러나, 때로는 처리기(processor)가 주 스타일시트 안 규칙보다 (우선순위가 낮은) 가져온 스타일시트의 템플릿 규칙을 쓰도록 강제할 수 있는 게 유용합니다.

+

문법

+
<xsl:apply-imports/>
+

필수 속성

+

없음.

+

선택 속성

+

없음.

+

타입

+

명령, 템플릿 안에 나타남

+

정의

+

XSLT section 5.6, Overriding Template Rules

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/apply-templates/index.html b/files/ko/web/xslt/element/apply-templates/index.html new file mode 100644 index 0000000000..fdb8662849 --- /dev/null +++ b/files/ko/web/xslt/element/apply-templates/index.html @@ -0,0 +1,33 @@ +--- +title: apply-templates +slug: Web/XSLT/apply-templates +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/apply-templates +--- +

{{ XsltRef() }}

+

<xsl:apply-templates> 요소는 입력 트리 안 노드 집합을 선택하고 그 집합에 알맞은 템플릿을 적용하도록 처리기에게 지시합니다.

+

문법

+
<xsl:apply-templates select=EXPRESSION mode=NAME>
+	<xsl:with-param> [optional]
+	<xsl:sort> [optional]
+</xsl:apply-templates>
+

필수 속성

+

없음.

+

선택 속성

+
+
+ select
+
+ 처리할 노드를 지정하는 XPath 식을 씁니다. 별표(*)는 전체 노드 집합을 선택합니다. 이 속성이 없으면, 현재 노드의 모든 자식 노드를 선택합니다.
+
+ mode
+
+ 같은 노드를 정의하는 다양한 처리 방법이 있다면, 그 방법들을 구별합니다.
+
+

타입

+

명령, 템플릿 안에 나타남

+

정의

+

XSLT section 5.4, Applying Template Rules

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/attribute-set/index.html b/files/ko/web/xslt/element/attribute-set/index.html new file mode 100644 index 0000000000..e4b34b6b21 --- /dev/null +++ b/files/ko/web/xslt/element/attribute-set/index.html @@ -0,0 +1,33 @@ +--- +title: attribute-set +slug: Web/XSLT/attribute-set +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/attribute-set +--- +

{{ XsltRef() }}

+

<xsl:attribute-set> 요소는 CSS 안에 이름 붙인 스타일과 비슷한 방식으로 이름 붙인 속성 집합을 만듭니다. 그러면, 출력 문서에 전체로서 적용할 수 있습니다.

+

문법

+
<xsl:attribute-set name=NAME use-attribute-sets=LIST-OF-NAMES>
+	<xsl:attribute>
+</xsl:attribute-set>
+

필수 속성

+
+
+ name
+
+ 속성 집합에 이름을 지정합니다. 이름은 유효한 QName이어야 합니다.
+
+

선택 속성

+
+
+ use-attribute-sets
+
+ 다른 속성 집합으로부터 속성 집합을 빌드합니다. 기여한 집합의 이름은 공백 문자로 구분해야 하고 직접 혹은 간접으로 서로 임베드하지 않아야 합니다.
+
+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 7.1.4, Named Attribute Sets

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/attribute/index.html b/files/ko/web/xslt/element/attribute/index.html new file mode 100644 index 0000000000..1c348584f7 --- /dev/null +++ b/files/ko/web/xslt/element/attribute/index.html @@ -0,0 +1,33 @@ +--- +title: attribute +slug: Web/XSLT/attribute +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/attribute +--- +

{{ XsltRef() }}

+

<xsl:attribute> 요소는 스타일시트에서 접근할 수 있는 어떤 값을 써서 출력 문서에 속성을 만듭니다. 요소는 속성값을 자리 잡게 하는 출력 문서 요소 안에 정의한 것 가운데 처음이어야 합니다.

+

문법

+
<xsl:attribute name=NAME namespace=URI>
+	TEMPLATE
+</xsl:attribute>
+

필수 속성

+
+
+ name
+
+ 출력 문서에 만들려는 속성에 이름을 지정합니다. 이름은 유효한 QName이어야 합니다.
+
+

선택 속성

+
+
+ namespace
+
+ 출력 문서에 이 속성을 위한 이름공간(namespace) URI를 정의합니다. 이 요소와 관련된 이름공간 접두사를 설정할 수 없습니다.
+
+

타입

+

명령, 템플릿이나 <xsl:attribute-set> 요소 안에 나타남.

+

정의

+

XSLT section 7.1.3, Creating Attributes with xsl:attribute

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/call-template/index.html b/files/ko/web/xslt/element/call-template/index.html new file mode 100644 index 0000000000..c5aa8c1a53 --- /dev/null +++ b/files/ko/web/xslt/element/call-template/index.html @@ -0,0 +1,29 @@ +--- +title: call-template +slug: Web/XSLT/call-template +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/call-template +--- +

{{ XsltRef() }}

+

<xsl:call-template> 요소는 이름 붙인 템플릿을 호출합니다.

+

문법

+
<xsl:call-template name=NAME>
+	<xsl:with-param> [optional]
+</xsl:call-template> 
+

필수 속성

+
+
+ name
+
+ 호출하고 싶은 템플릿의 이름을 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 6, Named Templates

+

Gecko 지원

+

지원함.

+

{{ languages( { "en": "en/XSLT/call-template" } ) }}

diff --git a/files/ko/web/xslt/element/choose/index.html b/files/ko/web/xslt/element/choose/index.html new file mode 100644 index 0000000000..ea615e7e15 --- /dev/null +++ b/files/ko/web/xslt/element/choose/index.html @@ -0,0 +1,24 @@ +--- +title: choose +slug: Web/XSLT/choose +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/choose +--- +

{{ XsltRef() }}

+

<xsl:choose> 요소는 많은 선택 가운데 하나를 정의합니다. 그리고 절차형 언어(procedural language)의 스위치 문처럼 동작합니다.

+

문법

+
<xsl:choose>
+	<xsl:when>
+	<xsl:otherwise> [optional]
+</<xsl:choose>
+

필수 속성

+

없음.

+

선택 속성

+

없음.

+

타입

+

명령, 템플릿과 함께 나타남. 하나 이상의 <xsl:when> 요소를 포함하고 선택에 따라 마지막에 <xsl:otherwise> 요소를 포함합니다.

+

정의

+

XSLT section 9.2, Conditional Processing with xsl:choose

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/comment/index.html b/files/ko/web/xslt/element/comment/index.html new file mode 100644 index 0000000000..56b12a9968 --- /dev/null +++ b/files/ko/web/xslt/element/comment/index.html @@ -0,0 +1,23 @@ +--- +title: comment +slug: Web/XSLT/comment +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/comment +--- +

{{ XsltRef() }}

+

<xsl:comment> 요소는 출력 문서에 주석을 작성합니다. 오직 텍스트만 포함해야 합니다.

+

문법

+
<xsl:comment>
+	TEMPLATE
+</xsl:comment> 
+

필수 속성

+

없음.

+

선택 속성

+

없음.

+

타입

+

명령, 템플릿과 함께 나타남.

+

정의

+

XSLT section 7.4, Creating Comments

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/copy-of/index.html b/files/ko/web/xslt/element/copy-of/index.html new file mode 100644 index 0000000000..cfd00ae443 --- /dev/null +++ b/files/ko/web/xslt/element/copy-of/index.html @@ -0,0 +1,26 @@ +--- +title: copy-of +slug: Web/XSLT/copy-of +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/copy-of +--- +

{{ XsltRef() }}

+

<xsl:copy-of> 요소는 select 속성이 출력 문서에 무엇을 지정하든지 (자손 노드를 포함하여) 깊게 복사(deep copy)합니다.

+

문법

+
<xsl:copy-of select=EXPRESSION /> 
+

필수 속성

+
+
+ select
+
+ 복사할 대상을 지정하는 XPath 식을 씁니다.
+
+

선택 속성

+

없음.

+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 11.3, Using Values of Variables and Parameters with xsl:copy-of

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/copy/index.html b/files/ko/web/xslt/element/copy/index.html new file mode 100644 index 0000000000..7d6e480167 --- /dev/null +++ b/files/ko/web/xslt/element/copy/index.html @@ -0,0 +1,28 @@ +--- +title: copy +slug: Web/XSLT/copy +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/copy +--- +

{{ XsltRef() }}

+

<xsl:copy> 요소는 출력 문서에 현재 노드의 노드와 어떤 관련 이름공간 노드만을 얕게 복사(shallow copy) 전달합니다. 속성이나 자식은 복사하지 않습니다.

+

문법

+
<xsl:copy use-attribute-sets=LIST-OF-NAMES>
+	TEMPLATE
+</xsl:copy>
+

필수 속성

+

없음.

+

선택 속성

+
+
+ use-attribute-sets
+
+ 요소이면, 출력 노드에 적용해도 좋을 속성 집합을 나열합니다. 집합의 이름은 공백 문자로 구분해야 합니다.
+
+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 7.5, Copying

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/decimal-format/index.html b/files/ko/web/xslt/element/decimal-format/index.html new file mode 100644 index 0000000000..83e51a2e90 --- /dev/null +++ b/files/ko/web/xslt/element/decimal-format/index.html @@ -0,0 +1,100 @@ +--- +title: decimal-format +slug: Web/XSLT/decimal-format +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/decimal-format +--- +

{{ XsltRef() }}

+

<xsl:decimal-format> 요소는 + + format-number( ) + 함수를 써서 숫자를 문자열로 바꿀 때 쓰는 기호와 문자를 정의합니다.

+

문법

+
<xsl:decimal-format
+	name=NAME
+	decimal-separator=CHARACTER
+	grouping-separator=CHARACTER
+	infinity=STRING
+	minus-sign=CHARACTER
+	NaN=STRING
+	percent=CHARACTER
+	per-mille=CHARATER
+	zero-digit=CHARACTER
+	digit=CHARACTER
+	pattern-separator=CHARACTER />
+

필수 속성

+

없음.

+

선택 속성

+
+
+ name
+
+ 이 형식에 이름을 지정합니다.
+
+
+
+ decimal-separator
+
+ 소숫점 문자를 지정합니다. 기본값은 (.)입니다.
+
+
+
+ grouping-separator
+
+ 그룹 구분 문자를 지정합니다. 기본값은 (,)입니다.
+
+
+
+ infinity
+
+ 무한대(infinity)를 나타내는데 쓰는 문자열을 지정합니다. 기본값은 "Infinity" 문자열입니다.
+
+
+
+ minus-sign
+
+ 빼기 기호 문자를 지정합니다. 기본값은 (-)입니다.
+
+
+
+ NaN
+
+ 값이 숫자가 아닐 때 쓰는 문자열을 지정합니다. 기본값은 "NaN" 문자열입니다.
+
+
+
+ percent
+
+ 백분율(percentage) 기호 문자를 지정합니다. 기본값은 (%)입니다.
+
+
+
+ per-mille
+
+ 천분율(per thousand) 문자를 지정합니다. 기본값은 ()입니다.
+
+
+
+ zero-digit
+
+ 숫자 0으로 쓸 문자를 지정합니다. 기본값은 (0)입니다.
+
+
+
+ digit
+
+ 형식 패턴에서 숫자(digit)를 나타내는데 쓰는 문자를 지정합니다. 기본값은 (#)입니다.
+
+
+
+ pattern-separator
+
+ 형식 패턴에서 양수와 음수 부분패턴을 구분하는 문자를 지정합니다. 기본값은 (;)입니다.
+
+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 12.3, Number Formatting

+

Gecko 지원

+

Mozilla 1.0과 Netscape 7.0 현재 지원함.

diff --git a/files/ko/web/xslt/element/fallback/index.html b/files/ko/web/xslt/element/fallback/index.html new file mode 100644 index 0000000000..af407f4512 --- /dev/null +++ b/files/ko/web/xslt/element/fallback/index.html @@ -0,0 +1,23 @@ +--- +title: fallback +slug: Web/XSLT/fallback +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/fallback +--- +

{{ XsltRef() }}

+

<xsl:fallback> 요소는 주어진 확장(이나 결국에는 새 버전) 요소에서 지원하지 않으면 쓸 템플릿을 지정합니다.

+

문법

+
<xsl:fallback>
+	TEMPLATE
+</xsl:fallback>
+

필수 속성

+

없음.

+

선택 속성

+

없음.

+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 15, Fallback

+

Gecko 지원

+

이번에 지원 안 함.

diff --git a/files/ko/web/xslt/element/for-each/index.html b/files/ko/web/xslt/element/for-each/index.html new file mode 100644 index 0000000000..6beb713190 --- /dev/null +++ b/files/ko/web/xslt/element/for-each/index.html @@ -0,0 +1,29 @@ +--- +title: for-each +slug: Web/XSLT/for-each +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/for-each +--- +

{{ XsltRef() }}

+

<xsl:for-each> 요소는 노드 집합을 선택하고 같은 방식으로 각 노드를 처리합니다. 노드 집합을 되풀이하(iterate)거나 현재 노드를 바꾸는데 자주 씁니다. 하나 이상의 <xsl:sort> 요소가 이 요소의 자식으로 나타나면, 처리에 앞서 정렬을 합니다. 그렇지 않으면, 노드는 문서 순으로 처리합니다.

+

문법

+
<xsl:for-each select=EXPRESSION>
+	<xsl:sort> [optional]
+	TEMPLATE
+</xsl:for-each>
+

필수 속성

+
+
+ select
+
+ 처리할 노드를 선택하기 위해 XPath 식을 씁니다.
+
+

선택 속성

+

없음.

+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 8, Repetition

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/if/index.html b/files/ko/web/xslt/element/if/index.html new file mode 100644 index 0000000000..2c56b7d218 --- /dev/null +++ b/files/ko/web/xslt/element/if/index.html @@ -0,0 +1,28 @@ +--- +title: if +slug: Web/XSLT/if +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/if +--- +

{{ XsltRef() }}

+

<xsl:if> 요소는 test 속성과 템플릿을 포함합니다. test 속성을 참으로 평가하면, 템플릿을 처리합니다. 이것은 다른 언어의 if 문과 비슷합니다. 그러나, <tt>if-then-else</tt> 문의 기능을 다하기 위해 <xsl:when><xsl:otherwise> 자식이 하나씩 있는 <xsl:choose> 요소를 씁니다.

+

문법

+
<xsl:if test=EXPRESSION>
+	TEMPLATE
+</xsl:if>
+

필수 속성

+
+
+ test
+
+ Boolean 값으로 (필요하다면 boolean( )으로 정의한 규칙을 써서) 평가할 수 있는 XPath 식을 포함합니다. 값이 참이면 템플릿을 처리하고 거짓이면 아무 동작도 하지 않습니다.
+
+

선택 속성

+

없음.

+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 9.1, Conditional Processing with xsl:if

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/import/index.html b/files/ko/web/xslt/element/import/index.html new file mode 100644 index 0000000000..5a469656cb --- /dev/null +++ b/files/ko/web/xslt/element/import/index.html @@ -0,0 +1,26 @@ +--- +title: import +slug: Web/XSLT/import +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/import +--- +

{{ XsltRef() }}

+

<xsl:import> 요소는 한 스타일시트의 컨텐트를 다른 스타일시트로 가져오는 역할을 하는 최상위 요소입니다. 대체로, 가져올 스타일시트의 컨텐트는 가져오는 스타일시트의 컨텐트보다 가져오기 우선순위가 낮습니다. 이는 포함되는 스타일시트의 컨텐트가 포함하는 스타일시트의 컨텐트와 우선순위가 정확히 같은 <xsl:include>와는 뚜렷이 다릅니다.

+

문법

+
<xsl:import href=URI  />
+

필수 속성

+
+
+ href
+
+ 가져올 스타일시트의 URI를 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

최상위, 가져오는 스타일시트 안 <xsl:stylesheet><xsl:transform>의 자식 가운데 가장 앞에 나타나야 함.

+

정의

+

XSLT section 2.6.2, Stylesheet Import

+

Gecko 지원

+

Mozilla 1.0 현재 최상위 변수와 매개변수에 문제가 조금 있지만 대부분 지원함.

diff --git a/files/ko/web/xslt/element/include/index.html b/files/ko/web/xslt/element/include/index.html new file mode 100644 index 0000000000..965d03a15f --- /dev/null +++ b/files/ko/web/xslt/element/include/index.html @@ -0,0 +1,26 @@ +--- +title: include +slug: Web/XSLT/include +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/include +--- +

{{ XsltRef() }}

+

<xsl:include> 요소는 한 스타일시트의 컨텐트를 다른 스타일시트에 합칩니다. <xsl:import>와는 달리, 포함되는 스타일시트의 컨텐트는 포함하는 스타일시트의 컨텐트와 우선순위가 정확히 같습니다.

+

문법

+
<xsl:include href=URI />
+

필수 속성

+
+
+ href
+
+ 포함할 스타일시트의 URI를 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식으로 나타남.

+

정의

+

XSLT section 2.6.1, Stylesheet Inclusion

+

Gecko 지원

+

지원함.

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 +--- +

{{ XsltRef() }}

+

<xsl:key> 요소는 key( ) 함수가 있는 스타일시트 어디서나 쓸 수 있는 이름 붙은 키를 선언합니다.

+

문법

+
<xsl:key name=NAME match=EXPRESSION
+	use=EXPRESSION /> 
+

필수 속성

+
+
+ name
+
+ 이 키에 이름을 지정합니다. QName이어야 합니다.
+
+ match
+
+ 이 키를 적용할 수 있는 노드를 정의합니다.
+
+ use
+
+ 적용가능한 각 노드에 키값을 결정하는데 쓸 수 있는 XPath 식을 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 12.2, Keys

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/message/index.html b/files/ko/web/xslt/element/message/index.html new file mode 100644 index 0000000000..d533a2d3c7 --- /dev/null +++ b/files/ko/web/xslt/element/message/index.html @@ -0,0 +1,28 @@ +--- +title: message +slug: Web/XSLT/message +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/message +--- +

{{ XsltRef() }}

+

<xsl:message> 요소는 (NS에서 자바스크립트 콘솔에) 메시지를 출력하고 선택에 따라 스타일시트 실행을 끝냅니다. 디버깅에 유용할 수 있습니다.

+

문법

+
<xsl:message terminate="yes" | "no" >
+	TEMPLATE
+</xsl:message>
+

필수 속성

+

없음.

+

선택 속성

+
+
+ terminate
+
+ "yes"로 설정하면, 실행을 끝마치는 게 좋겠다는 것을 나타냅니다. 기본값은 "no"이고 어느 경우에는 메시지가 출력하고 실행을 계속합니다.
+
+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 13, Messages

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/namespace-alias/index.html b/files/ko/web/xslt/element/namespace-alias/index.html new file mode 100644 index 0000000000..e085abc4e7 --- /dev/null +++ b/files/ko/web/xslt/element/namespace-alias/index.html @@ -0,0 +1,30 @@ +--- +title: namespace-alias +slug: Web/XSLT/namespace-alias +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/namespace-alias +--- +

{{ XsltRef() }}

+

<xsl:namespace-alias> 요소는 스타일시트 이름공간을 출력 트리의 다른 이름공간으로 매기는(map) 데 드물게 쓰는 방안(device)입니다. 이 요소의 가장 평범한 쓰임은 다른 스타일시트로부터 스타일시트를 만드는 것입니다. 보통 xsl:가 접두사로 붙은 (결과 트리에 단순히 복사해도 좋을) LRE(literal result element)를 처리기가 오해하는 것을 막기 위해, 결과 트리의 XSLT 이름공간에 적당하게 도로 다시 바꿀 임시 이름공간을 할당합니다.

+

문법

+
<xsl:namespace-alias stylesheet-prefix=NAME result-prefix=NAME />
+

필수 속성

+
+
+ stylesheet-prefix
+
+ 임시 이름공간을 지정합니다.
+
+ result-prefix
+
+ 결과 트리에 사용하길 바라는 이름공간을 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 7.1.1, Literal Result Elements

+

Gecko 지원

+

이번에 지원 안 함.

diff --git a/files/ko/web/xslt/element/number/index.html b/files/ko/web/xslt/element/number/index.html new file mode 100644 index 0000000000..b822625a0e --- /dev/null +++ b/files/ko/web/xslt/element/number/index.html @@ -0,0 +1,173 @@ +--- +title: number +slug: Web/XSLT/number +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/number +--- +

{{ XsltRef() }}

+

<xsl:number> 요소는 숫자를 연속으로 셉니다. 또한 숫자를 빠르게 구성하는(format) 데도 쓸 수 있습니다.

+

구문

+
<xsl:number
+	count=EXPRESSION
+	level="single" | "multiple" | "any"
+	from=EXPRESSION
+	value=EXPRESSION
+	format=FORMAT-STRING
+	lang=XML:LANG-CODE
+	letter-value="alphabetic" | "traditional"
+	grouping-separator=CHARACTER
+	grouping-size=NUMBER  />
+

필수 속성

+

없음.

+

선택 속성

+
+
+ count
+
+ 소스 트리에서 연속으로 셀 대상을 지정합니다. XPath 식을 씁니다.
+
+
+
+ level
+
+ 일련번호를 만드는데 소스 트리의 수준을 어떻게 고려해야 하는 지를 정의합니다. 유효한 값은 single, multiple, any 세 가지. 기본값은 single입니다.
+
+
+
+
+
+ single
+
+ 목록의 항목대로 연속으로 형제 노드를 번호 매깁니다. 처리기는 count 속성과 일치하는 ancestor-or-self 축의 첫 번째 노드로 갑니다. 그리고 나서 역시 count 속성과 일치하는 앞선 형제(preceding siblings) 노드(있다면, 한 짝인 from 속성에 이르러 멈춤)를 모두 더하여 셉니다. 일치하지 않으면, sequence는 빈 목록입니다.
+
+
+
+
+
+
+
+ multiple
+
+ 노드의 계층 위치를 반영하는 복합 sequence로 노드를 셉니다. 예를 들어, 1.2.2.5 (포개진 형식은 format 속성(예, A.1.1)으로 지정할 수 있습니다). 처리기는 만약 있다면 from 속성에 이르러 멈추며 현재 노드와 현재 노드의 모든 ancestors를 조사합니다. 일치하지 않으면, sequence는 빈 목록입니다.
+
+
+
+
+
+
+
+ any (이번에 지원 안 함.)
+
+ 수준을 무시하고 연속으로 일치하는 모든 노드를 셉니다. ancestor, self, preceding 축을 모두 고려합니다. 처리기는 현재 노드에서 시작하여 from 속성과 일치할 때 멈추며 문서 역순으로 진행합니다. 발견한 count 속성과 일치하지 않으면, sequence는 빈 목록입니다. 이 수준은 이번에 지원하지 않습니다.
+
+
+
+
+
+ from
+
+ 번호 매기기를 시작하거나 다시 시작하면 좋을 곳을 지정합니다. 순서는 from 특성과 일치하는 노드의 첫 번째 자손(descendant)에서 시작합니다.
+
+
+
+ value
+
+ 숫자에 주어진 형식을 적용합니다. 이것이 사용자 제공 숫자(노드 sequence 숫자와는 반대로)를 표준 <xsl:number> 형식으로 구성하는 빠른 방법입니다.
+
+
+
+ format
+
+ 만드는 숫자의 형식을 정의합니다.
+
+
+
+
+
+ format="1"
+
+ <tt>1 2 3 . . .</tt> (이번에 지원하는 유일한 형식)
+
+
+
+
+
+
+
+ format="01"
+
+ <tt>01 02 03 . . . 09 10 11 . . .</tt>
+
+
+
+
+
+
+
+ format="a"
+
+ <tt>a b c . . .y z aa ab . . .</tt>
+
+
+
+
+
+
+
+ format="A"
+
+ <tt>A B C . . . Y Z AA AB . . .</tt>
+
+
+
+
+
+
+
+ format="i"
+
+ <tt>i ii iii iv v . . .</tt>
+
+
+
+
+
+
+
+ format="I"
+
+ <tt>I II III IV V . . .</tt>
+
+
+
+
+
+ lang (이번에는 지원 안 함)
+
+ 문자에 기반을 둔 번호 매기기 형식에 쓰면 좋을 언어의 알파벳을 지정합니다.
+
+
+
+ letter-value
+
+ 문자(letter)를 쓰는 번호 매김 열(sequence) 사이를 명확하게 합니다. 어떤 언어는 문자(letter)를 쓰는 하나 이상의 번호 매기기 시스템이 있습니다. 두 시스템이 같은 토큰으로 시작하면, 모호함이 생길 수 있습니다. 이 속성은 "alphabetic"나 "traditional" 값일 수 있습니다. 기본값은 "alphabetic"입니다.
+
+
+
+ grouping-separator
+
+ 어떤 문자를 그룹(예로 천 단위) 구분자로 쓰면 좋을지를 지정합니다. 기본값은 쉼표(,)입니다.
+
+
+
+ grouping-size
+
+ 숫자 그룹을 만드는 자릿수를 나타냅니다. 기본값은 "3"입니다.
+
+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 7.7, Numbering

+

Gecko 지원

+

부분 지원. 위 해설을 보세요.

diff --git a/files/ko/web/xslt/element/otherwise/index.html b/files/ko/web/xslt/element/otherwise/index.html new file mode 100644 index 0000000000..50249dc0b4 --- /dev/null +++ b/files/ko/web/xslt/element/otherwise/index.html @@ -0,0 +1,23 @@ +--- +title: otherwise +slug: Web/XSLT/otherwise +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/otherwise +--- +

{{ XsltRef() }}

+

<xsl:otherwise> 요소는 아무런 <xsl:when> 조건도 적용하지 않았을 때 취하면 좋을 동작을 정의하는 데 씁니다. 다른 프로그래밍 언어의 elsedefault 경우와 비슷합니다.

+

문법

+
<xsl:otherwise>
+	TEMPLATE
+</xsl:otherwise>
+

필수 속성

+

없음.

+

선택 속성

+

없음.

+

타입

+

하위명령, 템플릿 안에서 <xsl:choose> 요소의 마지막 자식으로 나타나야 함.

+

정의

+

XSLT section 9.2, Conditional Processing with xsl:choose

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/output/index.html b/files/ko/web/xslt/element/output/index.html new file mode 100644 index 0000000000..97baf3f433 --- /dev/null +++ b/files/ko/web/xslt/element/output/index.html @@ -0,0 +1,90 @@ +--- +title: output +slug: Web/XSLT/output +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/output +--- +

{{ XsltRef() }}

+

<xsl:output> 요소는 출력 문서의 특성을 조절합니다. method 속성이 있는 이 요소가 Netscape에서 정확하게 기능하도록 쓸 수 있어야 합니다. 7.0 현재, method="text"는 기대한 대로 동작합니다.

+

문법

+
<xsl:output
+	method="xml" | "html" | "text"
+	version=STRING
+	encoding=STRING
+	omit-xml-declaration="yes" | "no"
+	standalone="yes" | "no"
+	doctype-public=STRING
+	doctype-system=STRING
+	cdata-section-elements=LIST-OF-NAMES
+	indent="yes" | "no"
+	media-type=STRING  />
+

필수 속성

+

없음.

+

선택 속성

+
+
+ method
+
+ 출력 형식을 지정합니다.
+
+
+
+ version
+
+ 출력 문서에 XML이나 HTML 선언의 version 속성값을 지정합니다. 이 속성은 method="html"method="xml"일 때만 씁니다.
+
+
+
+ encoding
+
+ 출력 문서에 encoding 속성값을 지정합니다.
+
+
+
+ omit-xml-declaration
+
+ 출력에 XML 선언을 포함할 지를 나타냅니다. 가능한 값은 "yes"나 "no"입니다.
+
+
+
+ standalone (지원 안 함.)
+
+ 있으면, standalone 선언이 출력 문서에 나타나면 좋을 지를 나타내고 그 값을 줍니다. 가능한 값은 "yes"나 "no"입니다.
+
+
+
+ doctype-public
+
+ 출력 문서에 DOCTYPE 선언의 PUBLIC 속성값을 지정합니다.
+
+
+
+ doctype-system
+
+ 출력 문서에 DOCTYPE 선언의 SYSTEM 속성값을 지정합니다.
+
+
+
+ cdata-section-elements
+
+ CDATA 절에 써도 좋을 요소의 텍스트 컨텐트를 나열합니다. 요소는 공백으로 구분해야 합니다.
+
+
+
+ indent (지원 안 함.)
+
+ 출력에 계층 구조를 나타내도록 하면 좋을 지를 지정합니다.
+
+
+
+ media-type (지원 안 함.)
+
+ 출력 문서의 MIME 타입을 지정합니다.
+
+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 16, Output

+

Gecko 지원

+

부분 지원. 위 해설을 보세요.

diff --git a/files/ko/web/xslt/element/param/index.html b/files/ko/web/xslt/element/param/index.html new file mode 100644 index 0000000000..e1bcf36e19 --- /dev/null +++ b/files/ko/web/xslt/element/param/index.html @@ -0,0 +1,33 @@ +--- +title: param +slug: Web/XSLT/param +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/param +--- +

{{ XsltRef() }}

+

<xsl:param> 요소는 이름과 선택에 따라 기본값으로 매개변수를 설정합니다. 최상위 요소로 쓸 때, 매개변수는 전역입니다. <xsl:template> 요소 안에서 쓰면, 매개변수는 그 템플릿에 대해 지역입니다. 이 경우에 요소는 템플릿의 첫 자식 요소여야 합니다.

+

문법

+
<xsl:param name=NAME select=EXPRESSION>
+	TEMPLATE
+</xsl:param>
+

필수 속성

+
+
+ name
+
+ 파라미터에 이름을 붙입니다. 이름은 QName이어야 합니다.
+
+

선택 속성

+
+
+ select
+
+ none으로 지정하면 기본값을 제공하는 XPath 식을 씁니다.
+
+

타입

+

명령, 최상위 요소나 템플릿 안에 나타날 수 있음.

+

정의

+

XSLT section 11, Variables and Parameters

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/preserve-space/index.html b/files/ko/web/xslt/element/preserve-space/index.html new file mode 100644 index 0000000000..771ffe81d6 --- /dev/null +++ b/files/ko/web/xslt/element/preserve-space/index.html @@ -0,0 +1,26 @@ +--- +title: preserve-space +slug: Web/XSLT/preserve-space +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/preserve-space +--- +

{{ XsltRef() }}

+

<xsl:preserve-space> 요소는 공백을 보존하면 좋을 소스 문서의 요소를 정의합니다. 하나 이상의 요소가 있으면, 공백 문자로 이름을 구분하세요. 공백 보존하기가 기본 설정이므로 이 요소는 오직 <xsl:strip-space> 요소와 거꾸로 동작하기 위해 쓸 필요가 있습니다.

+

문법

+
<xsl:preserve-space elements=LIST-OF-ELEMENT-NAMES  />
+

필수 속성

+
+
+ elements
+
+ 공백을 보존하면 좋을 요소를 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 3.4, Whitespace Stripping

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/processing-instruction/index.html b/files/ko/web/xslt/element/processing-instruction/index.html new file mode 100644 index 0000000000..ad1c6eaaf6 --- /dev/null +++ b/files/ko/web/xslt/element/processing-instruction/index.html @@ -0,0 +1,26 @@ +--- +title: processing-instruction +slug: Web/XSLT/processing-instruction +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/processing-instruction +--- +

{{ XsltRef() }}

+

<xsl:processing-instruction> 요소는 출력 문서에 처리 명령을 씁니다.

+

문법

+

<xsl:processing-instruction name=NAME> TEMPLATE </xsl:processing-instruction>

+

필수 속성

+
+
+ name
+
+ 처리 명령에 이름을 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 7.3, Creating Processing Instructions

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/sort/index.html b/files/ko/web/xslt/element/sort/index.html new file mode 100644 index 0000000000..22217ec61f --- /dev/null +++ b/files/ko/web/xslt/element/sort/index.html @@ -0,0 +1,55 @@ +--- +title: sort +slug: Web/XSLT/sort +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/sort +--- +

{{ XsltRef() }}

+

<xsl:sort> 요소는 <xsl:apply-templates><xsl:for-each>가 선택한 노드에 정렬키를 정의하고 노드를 처리할 순서를 결정합니다.

+

문법

+
<xsl:sort
+	select=EXPRESSION
+	order="ascending" | "descending"
+	case-order="upper-first"| "lower-first"
+	lang=XML:LANG-CODE
+	data-type="html" | "xml" | "text" /> 
+

필수 속성

+

없음.

+

선택 속성

+
+
+ select
+
+ 정렬할 노드를 지정하는 XPath 식을 씁니다.
+
+
+
+ order
+
+ "ascending"나 "descending"으로 처리하면 좋을 노드를 지정합니다. 기본값은 "ascending"입니다.
+
+
+
+ case-order
+
+ 처음에 오는 게 대문자인지 소문자인지를 나타냅니다. 가능한 값은 "upper-first"와 "lower-first"입니다.
+
+
+
+ lang
+
+ 어떤 언어를 정렬에 쓸지를 지정합니다.
+
+
+
+ data-type
+
+ 어떤 항목을 알파벳순이나 숫자순으로 순서 매길지를 정의합니다. 가능한 값은 "text"와 기본값인 "text"가 있는 "number"입니다.
+
+

타입

+

하위명령, 항상 <xsl:for-each>의 자식으로 나타나고 고유(proper) 템플릿이나 <xsl:apply-templates> 앞에 나타나야 함.

+

정의

+

XSLT section 10, Sorting

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/strip-space/index.html b/files/ko/web/xslt/element/strip-space/index.html new file mode 100644 index 0000000000..7bbc485afd --- /dev/null +++ b/files/ko/web/xslt/element/strip-space/index.html @@ -0,0 +1,26 @@ +--- +title: strip-space +slug: Web/XSLT/strip-space +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/strip-space +--- +

{{ XsltRef() }}

+

<xsl:strip-space> 요소는 공백을 지웠으면 하는 소스 문서의 요소를 정의합니다.

+

문법

+
<xsl:strip-space elements=LIST-OF-ELEMENT-NAMES  />
+

필수 속성

+
+
+ elements
+
+ 지우면 좋을 공백뿐인 텍스트 노드가 있는 소스의 요소 목록(빈칸으로 구분)을 지정합니다.
+
+

선택 속성

+

없음.

+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 3.4, Whitespace Stripping

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/stylesheet/index.html b/files/ko/web/xslt/element/stylesheet/index.html new file mode 100644 index 0000000000..0119cec645 --- /dev/null +++ b/files/ko/web/xslt/element/stylesheet/index.html @@ -0,0 +1,52 @@ +--- +title: stylesheet +slug: Web/XSLT/stylesheet +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/stylesheet +--- +

{{ XsltRef() }}

+

<xsl:stylesheet>(나 동등한 <xsl:transform>) 요소는 스타일시트의 최외곽 요소입니다.

+

이름공간 선언

+

pseudo 속성은 XSLT 스타일시트로 문서를 식별하기 위해 필요합니다. 대체로 이는 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"입니다.

+

문법

+
<xsl:stylesheet
+	version=NUMBER
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	id=NAME
+	extension-element-prefixes=LIST-OF-NAMES
+	exclude-result-prefixes=LIST-OF-NAMES>
+		ENTIRE STYLESHEET
+</xsl:stylesheet>
+

필수 속성

+
+
+ version
+
+ 이 스타일시트에 필요한 XSLT의 버전을 지정합니다.
+
+

선택 속성

+
+
+ id (7.0 현재 오직 inline DTD가 명시하여 호출하는 경우만 지원함.)
+
+ 이 스타일시트에 id를 지정합니다. 이는 스타일시트를 다른 XML 문서에 포함할 때 가장 자주 씁니다.
+
+
+
+ extension-element-prefixes (지원 안 함.)
+
+ 이 문서의 확장 요소에 빈칸으로 구분한 이름공간 접두사를 지정합니다.
+
+
+
+ exclude-result-prefixes
+
+ 이 문서에 쓸 출력 문서에 보내지 않았으면 하는 이름공간을 지정합니다. 목록은 공백으로 구분합니다.
+
+

타입

+

필수 최외곽 스타일시트 요소.

+

정의

+

XSLT section 2.2, Stylesheet Element

+

Gecko 지원

+

조금 지원. 위 해설을 보세요.

diff --git a/files/ko/web/xslt/element/template/index.html b/files/ko/web/xslt/element/template/index.html new file mode 100644 index 0000000000..1ce4a66d2b --- /dev/null +++ b/files/ko/web/xslt/element/template/index.html @@ -0,0 +1,51 @@ +--- +title: template +slug: Web/XSLT/template +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/template +--- +

{{ XsltRef() }}

+

<xsl:template> 요소는 출력 생성 템플릿을 정의합니다. 이 요소는 match 속성이나 name 속성 집합이 있어야 합니다.

+

문법

+
<xsl:template
+	match=PATTERN
+	name=NAME
+	mode=NAME
+	priority=NUMBER>
+	<xsl:param> [optional]
+	TEMPLATE
+</xsl:template>
+

필수 속성

+

없음.

+

선택 속성

+
+
+ match
+
+ 이 템플릿을 쓰면 좋을 요소를 결정하는 패턴을 지정합니다. name 속성이 없다면, 필수 속성입니다.
+
+
+
+ name
+
+ <xsl:call-template> 요소가 호출할 수 있는 이 템플릿에 이름을 지정합니다.
+
+
+
+ mode
+
+ 이 템플릿에 <xsl:apply-templates> 요소의 속성과 일치할 수 있는 특유한 모드를 지정합니다. 이는 같은 정보를 다양한 방식으로 처리하는데 유용합니다.
+
+
+
+ priority
+
+ 이 템플릿에 숫자로 된 우선권을 지정합니다. 이는 Infinity와 다른 아무 숫자일 수 있습니다. 처리기는 하나 이상의 템플릿이 같은 노드와 일치할 때 이 숫자를 씁니다.
+
+

타입

+

최상위, <xsl:stylesheet><xsl:transform>의 자식이어야 함.

+

정의

+

XSLT section 5.3, Defining Template Rules

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/text/index.html b/files/ko/web/xslt/element/text/index.html new file mode 100644 index 0000000000..71bd6eceda --- /dev/null +++ b/files/ko/web/xslt/element/text/index.html @@ -0,0 +1,28 @@ +--- +title: text +slug: Web/XSLT/text +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/text +--- +

{{ XsltRef() }}

+

<xsl:text> 요소는 출력 트리에 리터럴(literal) 텍스트를 씁니다. #PCDATA, 리터럴 텍스트, 엔티티 참조를 포함할 지도 모릅니다.

+

구문

+
<xsl:text disable-output-escaping="yes" | "no">
+	TEXT
+</xsl:text> 
+

필수 속성

+

없음.

+

선택 속성

+
+
+ disable-output-escaping (Netscape은 변환 결과를 "output" 아래에 직렬하지 않습니다. 그래서 이 속성은 본래 문맥에서는 무의미합니다. HTML 엔티티를 출력하기 위해서는, 대신 숫자값을 쓰세요. 보기 &nbsp 대신 &#160)
+
+ 특수 문자를 출력에 쓸 때 해석할(escape) 지를 지정합니다. 가능한 값은 "yes"나 "no"입니다. 예를 들어, "yes"로 하면, <tt>></tt> 문자의 출력은 "&gt"가 아니라 >입니다.
+
+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 7.2, Creating Text

+

Gecko 지원

+

적힌 대로 지원함

diff --git a/files/ko/web/xslt/element/transform/index.html b/files/ko/web/xslt/element/transform/index.html new file mode 100644 index 0000000000..8071ebdad3 --- /dev/null +++ b/files/ko/web/xslt/element/transform/index.html @@ -0,0 +1,11 @@ +--- +title: transform +slug: Web/XSLT/transform +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/transform +--- +

{{ XsltRef() }}

+

<xsl:transform> 요소는 <xsl:stylesheet> 요소와 정확히 같습니다.

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/value-of/index.html b/files/ko/web/xslt/element/value-of/index.html new file mode 100644 index 0000000000..90f1777bed --- /dev/null +++ b/files/ko/web/xslt/element/value-of/index.html @@ -0,0 +1,31 @@ +--- +title: value-of +slug: Web/XSLT/value-of +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/value-of +--- +

{{ XsltRef() }}

+

<xsl:value-of> 요소는 XPath 식을 평가하여 그것을 문자열로 바꾸고 문자열을 결과 트리에 씁니다.

+

구문

+
<xsl:value-of select=EXPRESSION disable-output-escaping="yes" | "no"  />
+

필수 속성

+
+
+ select
+
+ 평가하고 출력 트리에 쓸 XPath 식을 지정합니다.
+
+

선택 속성

+
+
+ disable-output-escaping (Netscape은 변환 결과를 "output" 아래에 직렬하지 않습니다. 그래서 이 속성은 본래 문맥에서는 무의미합니다. HTML 엔티티를 출력하기 위해서는, 대신 숫자값을 쓰세요. 보기 &nbsp 대신 &#160)
+
+ 특수 문자를 출력에 쓸 때 해석할(escape) 지를 지정합니다. 가능한 값은 "yes"나 "no"입니다. 예를 들어, "yes"로 하면, <tt>></tt> 문자의 출력은 "&gt"가 아니라 >입니다.
+
+

타입

+

명령, 템플릿 안에 나타남.

+

정의

+

XSLT section 7.6.1, Generating Text with xsl:value-of

+

Gecko 지원

+

위 경우를 빼고는 지원함.

diff --git a/files/ko/web/xslt/element/variable/index.html b/files/ko/web/xslt/element/variable/index.html new file mode 100644 index 0000000000..8568f70b20 --- /dev/null +++ b/files/ko/web/xslt/element/variable/index.html @@ -0,0 +1,33 @@ +--- +title: variable +slug: Web/XSLT/variable +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/variable +--- +

{{ XsltRef() }}

+

<xsl:variable> 요소는 스타일시트에 전역 변수나 지역 변수를 선언하고 그 변수에 값을 줍니다. XSLT가 부작용(side-effect)을 허용하지 않기 때문에, 변수값을 한 번 주면 그 변수는 범위(scope)를 벗어날 때까지 같은 값입니다.

+

구문

+
<xsl:variable name=NAME select=EXPRESSION >
+	TEMPLATE
+</xsl:variable> 
+

필수 속성

+
+
+ name
+
+ 변수에 이름을 줍니다.
+
+

선택 속성

+
+
+ select
+
+ 변수값을 XPath 식으로 정의합니다. 요소가 템플릿을 포함하면, 이 속성은 무시합니다.
+
+

타입

+

최상위 또는 명령. 최상위 요소로 나타나면, 변수의 범위는 전역이고 문서 전체에서 접근할 수 있습니다. 템플릿 안에 나타나면, 번수의 범위는 지역이고 나타난 템플릿 안에서만 접근할 수 있습니다.

+

정의

+

XSLT section 11, Variables and Parameters

+

Gecko 지원

+

지원함.

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 +--- +

{{ XsltRef() }}

+

<xsl:when> 요소는 항상 case 문처럼 동작하는 <xsl:choose> 요소 안에 나타납니다.

+

문법

+
<xsl:when test=EXPRESSION>
+	TEMPLATE
+</xsl:when>
+

필수 속성

+
+
+ test
+
+ 평가할 boolean 식을 지정합니다. 참이면, 요소의 컨텐트는 처리하고 거짓이면, 무시합니다.
+
+

선택 속성

+

없음.

+

타입

+

하위명령, 항상 <xsl:choose> 요소 안에 나타남.

+

정의

+

XSLT section 9.2, Conditional Processing with xsl:choose

+

Gecko 지원

+

지원함.

diff --git a/files/ko/web/xslt/element/with-param/index.html b/files/ko/web/xslt/element/with-param/index.html new file mode 100644 index 0000000000..cd96049cc5 --- /dev/null +++ b/files/ko/web/xslt/element/with-param/index.html @@ -0,0 +1,33 @@ +--- +title: with-param +slug: Web/XSLT/with-param +tags: + - XSLT_Reference +translation_of: Web/XSLT/Element/with-param +--- +

{{ XsltRef() }}

+

<xsl:with-param> 요소는 템플릿에 건네는 매개변수 값을 지정합니다.

+

문법

+
<xsl:with-param name=NAME select=EXPRESSION>
+	TEMPLATE
+</xsl:with-param>
+

필수 속성

+
+
+ name
+
+ 이 매개변수에 이름을 줍니다.
+
+

선택 속성

+
+
+ select
+
+ XPath 식을 거치는 매개변수 값을 정의합니다. 요소가 템플릿을 포함하면, 이 속성은 무시합니다.
+
+

타입

+

하위명령, 항상 <xsl:apply-templates>이나 code><xsl:call-template></code> 요소 안에 나타남.

+

정의

+

XSLT section 11.6, Passing Parameters to Templates

+

Gecko 지원

+

지원함.

-- cgit v1.2.3-54-g00ecf