private System.Xml.XmlNode parseXML()
{
System.Xml.XmlNode xnodResult = null;
int intData;
StringBuilder sbTemp = new StringBuilder();
while ((intData = ParseChar()) >= 0)
{
sbTemp.Append((char) intData);
}
System.Xml.XmlDocument xdoc = new System.Xml.XmlDocument();
try
{
//xdoc.LoadXml(sbTemp.ToString());
xdoc.LoadXml(LoadString());
xnodResult = xdoc.DocumentElement;
}
catch( Exception ex)
{
throw new CHessianException("Error while parsing XMl-Content:\n" + ex.Message);
}
return xnodResult;
}