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

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

            return copy;
        }
Example #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));
        }
Example #4
0
 public static IFhirReader CreateFhirReader(string xml, bool disallowXsiAttributesOnRoot)
 => new ElementNavFhirReader(XmlDomFhirNavigator.Create(xml), disallowXsiAttributesOnRoot);