public void DeserializeDEFromPath() { string path = "C:\\Users\\rmoldwi\\OneDrive\\One Drive Documents\\SDC\\SDC Git Repo\\sdc-schema-package\\DE sample.xml"; //string sdcFile = File.ReadAllText(path, System.Text.Encoding.UTF8); DataElementType DE = DataElementType.DeserializeFromXmlPath(path); var myXML = DE.GetXml(); Debug.Print(myXML); }
public void DeserializeDEFromXml() { BaseType.ClearTopNode(); //string path = @".\Test files\DE sample.xml"; string path = Path.Combine(".", "Test files", "DE sample.xml"); string sdcFile = File.ReadAllText(path, System.Text.Encoding.UTF8); DataElementType DE = DataElementType.DeserializeFromXml(sdcFile); var myXML = DE.GetXml(); Debug.Print(myXML); }