Click or drag to resize
XmlHelperGetNodeValue Method (XmlNode, String, String, Boolean)
Gets an XML node's value and stores it to a string variable.

Namespace: com.softwarekey.Client.Utils
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.18.3.0
Syntax
public static void GetNodeValue(
	XmlNode xml,
	string xpath,
	ref string value,
	bool textOnly
)

Parameters

xml
Type: System.XmlXmlNode
The root XML node.
xpath
Type: SystemString
The XPath of the node to parse.
value
Type: SystemString
The string value parsed from the XML node. This will be set to an empty string ("") if parsing fails.
textOnly
Type: SystemBoolean
When true, only retrieves the InnerText instead of the InnerXml
See Also