New to Telerik UI for WPFStart a free 30-day trial

Definition

Namespace:Telerik.Windows.Documents.FormatProviders.Html.Parsing.Dom

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public interface IDomImplementation

Methods

Creates an XML

csharp
Document

object of the specified type with its document element. HTML-only DOM implementations do not need to implement this method.

C#
IDocument CreateDocument(string namespaceUri, string qualifiedName, IDocumentType documentType)
Parameters:namespaceUristringqualifiedNamestringdocumentTypeIDocumentType

IDocument

A new

csharp
Document

object.

DomException

        INVALID_CHARACTER_ERR: Raised if the specified qualified name 
        contains an illegal character.
        <br />NAMESPACE_ERR: Raised if the 
csharp
qualifiedName

is malformed, if the

csharp
qualifiedName

has a prefix and the

        <pre><code class="lang-csharp">namespaceURI</code></pre>

is

csharp
null

, or if the

        <pre><code class="lang-csharp">qualifiedName</code></pre>

has a prefix that is "xml" and the

        <pre><code class="lang-csharp">namespaceURI</code></pre>

is different from " http://www.w3.org/XML/1998/namespace" .
WRONG_DOCUMENT_ERR: Raised if

csharp
doctype

has already been used with a different document or was created from a different implementation.

C#
IDocumentType CreateDocumentType(string qualifiedName, string publicId, string systemId)
Parameters:qualifiedNamestringpublicIdstringsystemIdstringReturns:

IDocumentType

Test if the DOM implementation implements a specific feature.

C#
bool HasFeature(string feature, string version)
Parameters:featurestringversionstring

bool

csharp
true

if the feature is implemented in the specified version,

csharp
false

otherwise.