public static List<Structure> LoadXmlFile(string filename) { XmlDocument document = new XmlDocument(); document.Load(filename); ProfileReader reader = new ProfileReader(); return reader.Read(document); }
public static void LoadXMLValueSets(this ProfileBuilder builder, string filename) { XmlDocument document = new XmlDocument(); document.Load(filename); ProfileReader reader = new ProfileReader(); List<ValueSet> valuesets = reader.ReadValueSets(document); builder.Add(valuesets); }