Microsoft XML 2.5 SDK


 

pi Method

[This is preliminary documentation and subject to change.]

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')