W3Schools.com

XSLT <xsl:processing-instruction> Element


XSLT Element Reference Complete XSLT Element Reference

Definition and Usage

The <xsl:processing-instruction> element writes a processing instruction to the output.


Syntax

<xsl:processing-instruction
name="process-name">

  <!-- Content:template -->

</xsl:processing-instruction>

Attributes

Attribute Value Description
name process-name Required. Specifies the name of the processing instruction

Example 1

This code:

<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>

Creates this tag:

<?xml-stylesheet href="style.css" type="text/css"?>


XSLT Element Reference Complete XSLT Element Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE