--- title: sort slug: Web/XSLT/Element/sort tags: - XSLT_Reference translation_of: Web/XSLT/Element/sort original_slug: Web/XSLT/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" />
없음.
selectorderascending"나 "descending"으로 처리하면 좋을 노드를 지정합니다. 기본값은 "ascending"입니다.case-orderupper-first"와 "lower-first"입니다.langdata-typetext"와 기본값인 "text"가 있는 "number"입니다.하위명령, 항상 <xsl:for-each>의 자식으로 나타나고 고유(proper) 템플릿이나 <xsl:apply-templates> 앞에 나타나야 함.
지원함.