public void load()
{
this.treeView2.Nodes.Clear();
// Load the XML Document
XmlDocument doc = new XmlDocument();
try {
doc.LoadXml( this.txtRawHtml.Text );
}catch (Exception err) {
MessageBox.Show("Das XML Beispiel Funktioniert nicht bei anderen Datentypen (" + err + ")");
return;
}
ConvertXmlNodeToTreeNode(doc, this.treeView2.Nodes);
this.treeView2.Nodes[0].ExpandAll();
}