Table of Contents

Class Document

Namespace
SharpVectors.Dom
Assembly
SharpVectors.Dom.dll

The base implementation of an XML document to support both SVG and CSS documents.

public class Document : XmlDocument, ICloneable, IEnumerable, IXPathNavigable, IDocument, INode, IXmlNode, IEventTargetSupport, IEventTarget, IDocumentEvent
Inheritance
Document
Implements
Derived
Inherited Members

Constructors

Document()
Document(DomImplementation)
Document(XmlNameTable)

Properties

CanUseBitmap

Gets or sets a value indicating if image elements will render bitmaps.

ExternalResourcesAccessMode

Gets or sets a value indicating how to handled external resources.

MutationEvents

Gets or sets a value to enable or disable mutation events.

Methods

CanAccessExternalResources(string)

Check if the Document allows access of external resource

CanAccessExternalResources(Uri)
CanDispatch(string, string)

Test if the implementation can generate events of a specified type.

CreateAttribute(string, string, string)

Creates an XmlAttribute with the specified Prefix, LocalName, and NamespaceURI.

CreateCDataSection(string)

Creates an XmlCDataSection containing the specified data.

CreateComment(string)

Creates an XmlComment containing the specified data.

CreateDocumentFragment()

Creates an XmlDocumentFragment.

CreateDocumentType(string, string, string, string)

Returns a new XmlDocumentType object.

CreateElement(string, string, string)

Creates an element with the specified Prefix, LocalName, and NamespaceURI.

CreateEntityReference(string)

Creates an XmlEntityReference with the specified name.

CreateEvent(string)

The CreateEvent method is used in creating IEvents when it is either inconvenient or unnecessary for the user to create an IEvent themselves.

CreateProcessingInstruction(string, string)

Creates an XmlProcessingInstruction with the specified name and data.

CreateSignificantWhitespace(string)

Creates an XmlSignificantWhitespace node.

CreateTextNode(string)

Creates an XmlText with the specified text.

CreateWhitespace(string)

Creates an XmlWhitespace node.

CreateXmlDeclaration(string, string, string)

Creates an XmlDeclaration node with the specified values.

DeletedText(INode, int, int)

A method to be called when some text was deleted from a text node, so that live objects can be notified.

InsertedNode(INode, INode, bool)

A method to be called when a node has been inserted in the tree.

InsertedText(INode, int, int)

A method to be called when some text was inserted into a text node, so that live objects can be notified.

InsertingNode(INode, bool)

A method to be called when a node is about to be inserted in the tree.

ModifiedAttrValue(IAttribute, string)

A method to be called when an attribute value has been modified.

ModifiedCharacterData(INode, string, string)

A method to be called when a character data node has been modified.

ModifyingCharacterData(INode)

A method to be called when a character data node has been modified.

RemovedAttrNode(IAttribute, INode, string)

A method to be called when an attribute node has been removed.

RemovedNode(INode, bool)

A method to be called when a node has been removed from the tree.

RemovingNode(INode, INode, bool)

A method to be called when a node is about to be removed from the tree.

RenamedAttrNode(IAttribute, IAttribute)

A method to be called when an attribute node has been renamed.

RenamedElement(IElement, IElement)

A method to be called when an element has been renamed.

ReplacedNode(INode)

A method to be called when a node has been replaced in the tree.

ReplacedText(INode)

A method to be called when some text was changed in a text node, so that live objects can be notified.

SetAttrNode(IAttribute, IAttribute)

A method to be called when an attribute node has been set.

replacingNode(INode)

A method to be called when a node is about to be replaced in the tree.