xsl:processing-instruction Element

Generates a processing instruction in the output.

<xsl:processing-instruction
  name = "pi-name">
</xsl: processing-instruction>

Attributes

  • name
    [required] Name of the processing instruction.

Element Information

Number of occurrences Unlimited
Parent elements xsl:attribute, xsl:comment, xsl:copy, xsl:element, xsl:for-each, xsl:if, xsl:otherwise, xsl:param, xsl:processing-instruction, xsl:template, xsl:variable, xsl:when, xsl:with-param, output elements
Child elements xsl:apply-templates, xsl:call-template, xsl:choose, xsl:copy, xsl:copy-of, xsl:for-each, xsl:if, xsl:text, xsl:value-of, xsl:variable, output elements

Remarks

The <xsl:processing-instruction> element generates a processing instruction in the output. The name is indicated by the name attribute. The content of the element provides the rest of the processing instruction.

See Also

XSLT Elements | Generating More Sophisticated XML Output

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.