aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/xslt/import/index.html
blob: 5a469656cb8b0eadc3bd9c2708866a5fa50d8206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: import
slug: Web/XSLT/import
tags:
  - XSLT_Reference
translation_of: Web/XSLT/Element/import
---
<p>{{ XsltRef() }}</p>
<p><code>&lt;xsl:import&gt;</code> 요소는 한 스타일시트의 컨텐트를 다른 스타일시트로 가져오는 역할을 하는 최상위 요소입니다. 대체로, 가져올 스타일시트의 컨텐트는 가져오는 스타일시트의 컨텐트보다 가져오기 우선순위가 낮습니다. 이는 포함되는 스타일시트의 컨텐트가 포함하는 스타일시트의 컨텐트와 우선순위가 정확히 같은 <code>&lt;xsl:include&gt;</code>와는 뚜렷이 다릅니다.</p>
<h3 id=".EB.AC.B8.EB.B2.95" name=".EB.AC.B8.EB.B2.95">문법</h3>
<pre>&lt;xsl:import href=URI  /&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>href</code></dt>
 <dd>
  가져올 스타일시트의 URI를 지정합니다.</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#import">XSLT section 2.6.2, Stylesheet Import</a></p>
<h3 id="Gecko_.EC.A7.80.EC.9B.90" name="Gecko_.EC.A7.80.EC.9B.90">Gecko 지원</h3>
<p>Mozilla 1.0 현재 최상위 변수와 매개변수에 문제가 조금 있지만 대부분 지원함.</p>