ProcessingInstruction: sheet property - Web APIs | MDN
Value
The associated Stylesheet object, or null if there are none.
Example
xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="rule.css"?>
…
The sheet property of the processing instruction will return the StyleSheet object describing rule.css.
Specifications
| Specification |
|---|
| CSS Object Model (CSSOM) # dom-linkstyle-sheet |
Browser compatibility
See also
- The DOM API