Visit Mozilla.org

XSLT:copy-of

Un article de MDC.

Référence XSLT/XPath : Éléments XSLT, Fonctions EXSLT, Fonctions XPath, Axes XPath

Sommaire

L'élément <xsl:copy-of> fait une copie complète dans le document de sortie (incluant les nœuds enfants) de tout ce que l'élément sélectionné spécifie.

[modifier] Syntaxe

<xsl:copy-of select=EXPRESSION />

[modifier] Attributs obligatoires

select
Utilise une expression XPath qui spécifie les éléments à copier.

[modifier] Attributs optionnels

Aucun.

[modifier] Type

Instruction, apparaît dans un modèle.

[modifier] Définition

XSLT 1.0, section 11.3.

[modifier] Support Gecko

Supporté.