ProcessingInstruction: sheet プロパティ
sheet は ProcessingInstruction インターフェイスの読み取り専用プロパティで、 ProcessingInstruction に関連付けられたスタイルシートを保持します。
処理命令 xml-stylesheet は XML ファイル内でスタイルシートを関連付けるために使用されます。
値
関連する Stylesheet オブジェクト、または存在しない場合は null です。
例
html
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="rule.css"?>
…
この処理命令の sheet プロパティは StyleSheet オブジェクトで、rule.css を示します。
仕様書
| Specification |
|---|
| CSS Object Model (CSSOM) # dom-linkstyle-sheet |
ブラウザーの互換性
BCD tables only load in the browser