ExtendedBrowserObj ToXML Method (.NET)

 

Returns a XML string that represents the BrowserHawk properties and their associated values for the current browser request. Also supports the ability to add your own data names and values. This XML can then be used for various purposes, such as storing it to a database or using it as an XML data source.

 

Tip: See the toJSON-toXML.aspx sample included with BrowserHawk for more information.

 

Syntax:

 

extBrow.ToXML()

Returns an XML representation of all the tested Extended properties and their associated values for the current browser request. The root element includes metadata about the capture including the BrowserHawk version, license level installed, edition, BDD version, and timestamp in the ISO 8601 format.

 

extBrow.ToXML(System.Collections.Hashtable)

Returns an XML representation of all the tested Extended properties and their associated values for the current browser request. The root element includes metadata about the capture including the BrowserHawk version, license level installed, edition, BDD version, and timestamp in the ISO 8601 format. By passing a Hashtable object you can add additional attributes on the root, for example a user's login ID or department. It's left to the caller to ensure each key is a valid XML attribute name.

 

Seel Also:

BrowserObj ToXML Method (.NET)

ExtendedBrowserObj ToJSON Method (.NET)

XML Property (.NET)

MSXML Property (.NET)