XSLT <xsl:processing-instruction>
❮ ทำการอ้างอิงองค์ประกอบ XSLT ให้สมบูรณ์
ความหมายและการใช้งาน
<xsl:processing-instruction> อิลิเมนต์เขียนคำสั่งการประมวลผลไปยังเอาต์พุต
ไวยากรณ์
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
คุณลักษณะ
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
ตัวอย่าง 1
รหัสนี้:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
สร้างแท็กนี้:
<?xml-stylesheet href="style.css" type="text/css"?>
❮ ทำการอ้างอิงองค์ประกอบ XSLT ให้สมบูรณ์