--- title: key slug: Web/XSLT/Element/key tags: - Todas_las_Categorías - XSLT translation_of: Web/XSLT/Element/key original_slug: Web/XSLT/key ---
{{XsltRef}}
El elemento <xsl:key>
declara una llave con nombre la cual puede ser usada en otro lugar dentro de la hoja de estilo usando la función key( )
.
<xsl:key name=NOMBRE match=EXPRESIÓN use=EXPRESIÓN />
name
match
use
Ninguno.
Elemento raíz, debe ser hijo del elemento <xsl:stylesheet>
o del elemento <xsl:transform>
.
XSLT, sección 12.2.
Soportado.