public void ReadFrom(Stream is1) { try { TableDocument doc = TableDocument.Parse(is1); ctTable = doc.GetTable(); } catch (XmlException e) { throw new IOException(e.Message); } }
public void ReadFrom(XmlDocument xmlDoc) { try { TableDocument doc = TableDocument.Parse(xmlDoc, NamespaceManager); ctTable = doc.GetTable(); } catch (XmlException e) { throw new IOException(e.Message); } }