Description
Removes the specified name/value pair.
Syntax
pbdom_pi_name.RemoveValue(string strName)
Argument |
Description |
---|---|
pbdom_pi_name |
The name of a PBDOM_PROCESSINGINSTRUCTION object |
strName |
String name of name/value pair to be removed |
Return value
Boolean.
Returns true if the requested name/value pair is removed and false otherwise.
Examples
Suppose the following PBDOM_PROCESSINGINSTRUCTION object is given:
<?xml-stylesheet href="simple-ie5.xsl" type="text/xsl" ?>
Then, RemoveValue("href") results in the PBDOM_PROCESSINGINSTRUCTION object being transformed into the following:
<?xml-stylesheet type="text/xsl" ?>