public void Parse(string text)
{
#region Check the arguments
if (text == null)
throw new ArgumentNullException("text");
#endregion
fParsedDocument = new XmlDocument();
XmlNode myRootNode = fParsedDocument.CreateElement(cRootXmlNodeName);
fParsedDocument.AppendChild(myRootNode);
try
{
ParseBlock(myRootNode, null, text, 0);
}
catch
{
fParsedDocument = null;
throw;
}
// m_ParsedDocument.Save(@"D:\Temp\ParserTest.xml");
}