Returns the collection of processing instruction nodes.
Syntax
pi(name)
Parameters
- name
- Optional. Name of the processing instructions to return in the collection.
Remarks
If the optional text parameter is provided, this method returns only processing instructions with that particular name.
Example
Find the style sheet processing instruction, found at the root of the document.
/pi('xml-stylesheet')