XSLT <xsl: Xử lý-hướng dẫn>
❮ Toàn bộ tham chiếu phần tử XSLT
Định nghĩa và Cách sử dụng
Phần tử <xsl: processing-tutorial> ghi một lệnh xử lý vào đầu ra.
Cú pháp
<xsl:processing-instruction
name="process-name">
<!-- Content:template -->
</xsl:processing-instruction>
Thuộc tính
Attribute | Value | Description |
---|---|---|
name | process-name | Required. Specifies the name of the processing instruction |
ví dụ 1
Mã này:
<xsl:processing-instruction name="xml-stylesheet">
href="style.css" type="text/css"
</xsl:processing-instruction>
Tạo thẻ này:
<?xml-stylesheet href="style.css" type="text/css"?>
❮ Toàn bộ tham chiếu phần tử XSLT