Click to return to the XML (Extensible Markup Language) home page    
node Method     text Method     Collection Methods    
Web Workshop  |  XML (Extensible Markup Language)

pi Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.