The UfDataToString convertor allows you to output an indented string representation of the parsed microformts.
using UfXtract; string url = "http://www.glennjones.net/about/"; UfWebRequest webRequest = new UfWebRequest(); webRequest.Load(url, UfFormats.HCard()); if (webRequest.Data.Nodes.Count > 0) { UfDataToString dataConvertor = new UfDataToString(); Response.Write("<pre>"); Response.Write(dataConvertor.Convert(webRequest.Data)); Response.Write("</pre>"); }
© 2007-2010 Glenn Jones. All Rights Reserved.