XSLT <xsl:instrucción-de-procesamiento>
❮ Referencia completa del elemento XSLT
Definición y uso
El elemento <xsl:processing-instruction> escribe una instrucción de procesamiento en la salida.
Sintaxis
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Atributos
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
Ejemplo 1
Este código:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
Crea esta etiqueta:
<?xml-stylesheet href="style.css" type="text/css"?>
❮ Referencia completa del elemento XSLT