Implementation of W3C Types

This topic provides a correspondence between the DOM classes from the W3C standard and the XML DOM Engine classes from Symbian.

DOM Level 3

Symbian XML DOM Engine

Notes

Node interfaces

   

Document

RXmlEngDocument

Element

TXmlEngElement

Provides an extended set of methods for creating DOM tree contents (child elements, attributes and text).

Attr

TXmlEngAttr

Text

TTextXmlEngNode

Comment

TXmlEngComment

EntityReference

TXmlEngEntityReference

CharacterData

TXmlEngCharacterData

Provides a subset of CharacterData modification methods.

ProcessingInstruction

TXmlEngProcessingInstruction

CDATASection

TXmlEngCDATASection

DocumentFragment

TXmlEngDocumentFragment

DocumentType

Not supported.

Entity

Not supported.

Notation

Not supported.

TXmlEngNamespace

Specific to the implementation of the XML DOM Engine.

Basic types

   

DOMString

TPtrC8, TString

DOMObject

void*

DOMUserData

MXmlEngUserData

DOMTimeStamp

Not supported.

Helper interfaces

   

NodeList

RXmlEngNodeList <T>

Provides iterator-based access instead of the index-based access of the NodeList class.

DOMStringList

Not supported (only required by the DOMConfiguration class, which is not supported either).

NameList

Replaced by alternative access mechanisms.

NamedNodeMap

Replaced by alternative access mechanisms.

TypeInfo

Not supported.

DOMConfiguration

Not supported.

DOMImplementation

RXmlEngDOMImplementation

UserDataHandler

Partial support due to limitations of the libxml2 standard library: IMPORTED, RENAMED and ADOPTED operations do not notify MXmlEngUserData children.

DOMError

Not supported.

DOMErrorHandler

Not supported.

DOMException

Not supported.

DOMImplementationList

Not applicable in the XML DOM Engine.

DOMLocator

Not supported by the libxml2 standard library.

DOMParser

Specific to the implementation of the XML DOM Engine.

Related concepts

Related reference