When you perform a query against Figaro, you receive a results set in the form of an XmlResults object. To examine the results, you iterate over this result set, retrieving each element of the set as an XmlValue object.
Once you have an individual result element, you can obtain the data encapsulated in the XmlValue object in a number of ways. For example, you can obtain the information as a string object using ToString. Alternatively, you could obtain the data as an XmlDocument object using AsDocument.
It is also possible to use DOM-like navigation on the XmlValue object since that class offers navigational methods such as FirstChild, NextSibling, Attributes, and so forth. For details on these and other XmlValue attributes, see the API Reference documentation.