public IElementNavigator Clone()
        {
            var copy = new XmlDomFhirNavigator(_current)
            {
                _nameIndex  = _nameIndex,
                _parentPath = _parentPath
            };

            return(copy);
        }
Esempio n. 2
0
        public IElementNavigator Clone()
        {
            var copy = new XmlDomFhirNavigator(_current)
            {
                _nameIndex = this._nameIndex,
                _parentPath = this._parentPath,
            };

            return copy;
        }
Esempio n. 3
0
        // [WMR 20160421] Caller is responsible for disposing reader
        public Base Parse(XmlReader reader, Type dataType)
        {
            IFhirReader xmlReader = new ElementNavFhirReader(XmlDomFhirNavigator.Create(reader), Settings.DisallowXsiAttributesOnRoot);

            return(Parse(xmlReader, dataType));
        }
Esempio n. 4
0
 public static IFhirReader CreateFhirReader(string xml, bool disallowXsiAttributesOnRoot)
 => new ElementNavFhirReader(XmlDomFhirNavigator.Create(xml), disallowXsiAttributesOnRoot);