420 if (parentNode ==
null)
433 if (parentNode ==
null)
500 if (parentNode ==
null)
579 if (parentNode !=
null)
588 return State.Fragment;
599 return State.Fragment;
603 return State.Attribute;
605 return State.Content;
void Add(TKey key, TValue value)
static string Xml_ClosedOrError
static string Xpn_NoContent
static string Xpn_MissingParent
static string Xdom_Node_Modify_ReadOnly
static string Xpn_BadPosition
static string Xml_DupAttributeName
void ResetPosition(XmlNode node)
static void DeleteToFollowingSibling(XmlNode node, XmlNode end)
static bool IsFollowingSibling(XmlNode left, [NotNullWhen(true)] XmlNode right)
override void WriteDocType(string name, string pubid, string sysid, string subset)
override void WriteProcessingInstruction(string name, string text)
override void WriteWhitespace(string text)
static readonly State[] s_changeState
override void WriteStartElement(string prefix, string localName, string ns)
void AddAttribute(XmlAttribute attr, XmlNode parent)
override void WriteRaw(string data)
override void WriteEndDocument()
override void WriteEndNamespaceDeclaration()
override void WriteNamespaceDeclaration(string prefix, string ns)
override void WriteString(string text)
override void WriteSurrogateCharEntity(char lowCh, char highCh)
readonly XmlDocument _document
override bool SupportsNamespaceDeclarationInChunks
override void WriteStartDocument()
override void WriteStartNamespaceDeclaration(string prefix)
override void StartElementContent()
XmlNamespaceManager NamespaceManager
@ WriteProcessingInstruction
@ WriteStartNamespaceDeclaration
DocumentXmlWriter(DocumentXmlWriterType type, XmlNode start, XmlDocument document)
override void WriteEndElement(string prefix, string localName, string ns)
override void WriteEntityRef(string name)
override XmlWriterSettings Settings
override void WriteChars(char[] buffer, int index, int count)
override void WriteStartAttribute(string prefix, string localName, string ns)
DocumentXPathNavigator _navigator
override void WriteStartDocument(bool standalone)
readonly DocumentXmlWriterType _type
override void WriteRaw(char[] buffer, int index, int count)
override void WriteFullEndElement(string prefix, string localName, string ns)
override void WriteXmlDeclaration(XmlStandalone standalone)
void AddChild(XmlNode node, XmlNode parent)
void CloseWithAppendAttribute()
XmlNamespaceManager _namespaceManager
override void Close(WriteState currentState)
override void WriteCData(string text)
DocumentXPathNavigator Navigator
readonly List< XmlNode > _fragment
void VerifyState(Method method)
override void WriteComment(string text)
void CloseWithReplaceToFollowingSibling()
override void WriteXmlDeclaration(string xmldecl)
override void WriteEndAttribute()
override void WriteCharEntity(char ch)
override void WriteFullEndElement()
readonly XmlWriterSettings _settings
override void WriteEndElement()
int FindNodeOffsetNS(XmlAttribute node)
XmlAttribute Append(XmlAttribute node)
static void VerifyCharData(string data, ExceptionType exceptionType)
virtual XmlDeclaration CreateXmlDeclaration(string version, string? encoding, string? standalone)
virtual XmlWhitespace CreateWhitespace(string? text)
virtual XmlText CreateTextNode(string? text)
virtual XmlCDataSection CreateCDataSection(string? data)
virtual XmlProcessingInstruction CreateProcessingInstruction(string target, string data)
virtual XmlEntityReference CreateEntityReference(string name)
XmlElement CreateElement(string name)
virtual XmlComment CreateComment(string? data)
virtual XmlDocumentType CreateDocumentType(string name, string? publicId, string? systemId, string? internalSubset)
XmlAttribute CreateAttribute(string name)
static void ParseXmlDeclarationValue(string strValue, out string version, out string encoding, out string standalone)
virtual ? string LookupNamespace(string prefix)
virtual ? string LookupPrefix(string uri)
virtual IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)
virtual ? XmlNode AppendChild(XmlNode newChild)
virtual ? XmlNode PrependChild(XmlNode newChild)
virtual ? XmlNode ParentNode
virtual XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild)
virtual ? XmlNode NextSibling
virtual ? XmlNode InsertAfter(XmlNode newChild, XmlNode? refChild)
virtual ? XmlNode InsertBefore(XmlNode newChild, XmlNode? refChild)
IDictionary< string, string > GetNamespacesInScope(XmlNamespaceScope scope)
string? LookupPrefix(string namespaceName)
string? LookupNamespace(string prefix)