173 if (
xPathNavigator.MoveToAttribute(
"space",
"http://www.w3.org/XML/1998/namespace"))
176 if (
text ==
"default")
180 if (
text ==
"preserve")
237 if (
elemNav.MoveToFirstAttribute())
243 while (
elemNav.MoveToNextAttribute());
263 case State.EndElement:
264 case State.Attribute:
266 case State.InReadBinary:
331 case State.Attribute:
341 case State.InReadBinary:
364 case State.Attribute:
374 case State.InReadBinary:
414 if (
lname ==
"xmlns")
454 if (localName ==
null)
475 if (localName ==
"xmlns")
477 localName =
string.Empty;
499 string result =
null;
534 if (
elemNav.MoveToFirstAttribute())
544 while (
elemNav.MoveToNextAttribute());
553 if (localName ==
null)
563 if (localName ==
"xmlns")
565 localName =
string.Empty;
571 while (!(
elemNav.LocalName == localName))
616 else if (!
elemNav.MoveToFirstAttribute())
639 case State.Attribute:
691 case State.InReadBinary:
719 lname =
string.Empty;
734 else if (
prefix.Length == 0)
743 if (!
elemNav.MoveToFirstAttribute())
749 if (
elemNav.MoveToNextAttribute())
771 case State.Attribute:
785 case State.InReadBinary:
938 goto case State.EndElement;
939 case State.EndElement:
960 case State.Attribute:
973 goto case State.Content;
974 case State.InReadBinary:
static string Xml_InvalidOperation
static ReadContentAsBinaryHelper CreateOrReset(ReadContentAsBinaryHelper helper, XmlReader reader)
int ReadContentAsBase64(byte[] buffer, int index, int count)
int ReadContentAsBinHex(byte[] buffer, int index, int count)
int ReadElementContentAsBinHex(byte[] buffer, int index, int count)
int ReadElementContentAsBase64(byte[] buffer, int index, int count)
static void SplitQName(string name, out string prefix, out string lname)
override int ReadElementContentAsBinHex(byte[] buffer, int index, int count)
override bool MoveToElement()
void MoveToAttr(XPathNavigator nav, int depth)
override string GetAttribute(string name)
ReadContentAsBinaryHelper _readBinaryHelper
IXmlSchemaInfo schemaInfo
override int ReadElementContentAsBase64(byte[] buffer, int index, int count)
override bool MoveToAttribute(string name)
XPathNavigatorReader(XPathNavigator navToRead, IXmlLineInfo xli, IXmlSchemaInfo xsi)
static string GetNamespaceByIndex(XPathNavigator nav, int index, out int count)
override bool MoveToAttribute(string localName, string namespaceName)
override bool MoveToFirstAttribute()
override bool MoveToNextAttribute()
static XPathNavigatorReader Create(XPathNavigator navToRead)
override bool CanReadBinaryContent
override XmlNameTable NameTable
override void ResolveEntity()
override bool ReadAttributeValue()
override XmlReaderSettings Settings
override string GetAttribute(int index)
override XmlNodeType NodeType
override string LookupNamespace(string prefix)
XPathNavigator GetElemNav()
override string NamespaceURI
override bool IsEmptyElement
XPathNavigator GetElemNav(out int depth)
static XmlNodeType ToXmlNodeType(XPathNodeType typ)
override int AttributeCount
readonly XPathNavigator _navToRead
override string GetAttribute(string localName, string namespaceURI)
override string LocalName
override int ReadContentAsBase64(byte[] buffer, int index, int count)
override XmlNamespaceManager NamespaceManager
static XmlNodeType[] convertFromXPathNodeType
override int ReadContentAsBinHex(byte[] buffer, int index, int count)
bool MoveToNextAttribute()
bool MoveTo(XPathNavigator other)
virtual IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)
static XmlNamespaceManager GetNamespaces(IXmlNamespaceResolver resolver)
virtual ? object UnderlyingObject
virtual ? string LookupPrefix(string namespaceURI)
bool MoveToNextNamespace(XPathNamespaceScope namespaceScope)
virtual ? string LookupNamespace(string prefix)
virtual ? IXmlSchemaInfo SchemaInfo
object ICloneable. Clone()
static XmlEmptyNavigator Singleton
static string TrimString(string value)
IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)
string? LookupPrefix(string namespaceName)
string? LookupNamespace(string prefix)