GetElementValue(String,String) Method
Gets the value of the first element or attribute in a piece of XML.
Parameters
- xml
-
The XML to extract the element or attribute value from.
- element
-
Name of the element or attribute to search for.
Return Value
The value of the first element or attribute. If there is no such
element or attribute in the XML, an empty string is returned.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2