private FhirXmlNode(FhirXmlNode parent, XObject node, string location) { Current = node; Location = location ?? Name; _settings = parent._settings; ExceptionHandler = parent.ExceptionHandler; _atRoot = false; }
public Base Parse(XmlReader reader, Type dataType = null) { var xmlReader = FhirXmlNode.Read(reader, buildNodeSettings(Settings)); return(Parse(xmlReader, dataType)); }
public Base Parse(string xml, Type dataType = null) { var xmlReader = FhirXmlNode.Parse(xml, buildNodeSettings(Settings)); return(Parse(xmlReader, dataType)); }
public static IElementNavigator Create(XElement elem) => FhirXmlNode.Create(elem).ToElementNavigator();
public static IElementNavigator Create(XDocument doc) => FhirXmlNode.Create(doc).ToElementNavigator();
public static IElementNavigator Create(XmlReader reader) => FhirXmlNode.Read(reader).ToElementNavigator();
public static IElementNavigator Create(string xml) => FhirXmlNode.Parse(xml).ToElementNavigator();