GetValue

Description

Returns the value for a specific name/value pair on the PBDOM_PROCESSINGINSTRUCTION object. If no such pair is found for the PBDOM_PROCESSINGINSTRUCTION object, an empty string is returned.

Syntax

pbdom_pi_name.GetValue(string strName)

Argument

Description

pbdom_pi_name

The name of a PBDOM_PROCESSINGINSTRUCTION object

strName

String name of name/value pair


Return value

String.

String name of the name/value pair to search for value.

Examples

Given the following PBDOM_PROCESSINGINSTRUCTION object, GetValue("href") returns the string "simple-ie5.xsl":

<?xml-stylesheet href="simple-ie5.xsl" type="text/xsl" ?>

See also

GetData

GetText, SetValue