[af_lightbox src=”hhttps://filedn.com/l4AHQkNhHaS5q50lPRXO7NJ/AF_CDN/KR/Model/Mime-data/afImages/UUD48-map-summitug.jpg”]Click here to open[/af_lightbox]The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents.
The Document Object Model (DOM) is an industry standard framework for defining information documents using standardized concepts about document formation managed in a tree structure graphical form. The general scheme defined for information management provides a standard framework for information manipulation using document-centric schemes. The Architected Information Repository (AIR) is a document centric scheme. EATSv5 is a message-based, document-centric architecture. Messages are exchanged in the form of architected documents. The foundation structure for AIR documents is XML documents. DOM is the model for such documents. The following table maps standardized functional elements of DOM structured documents to their mapping classes in PHP and AF, and the W3C standard interfaces shown in the diagram below.
PHP DOM | AF DOM | W3C DOM |
DOMAttr | C_AF_DomAttribute | org.w3c.dom.Attr |
DOMCdataSection | C_AF_DomCDataSection | org.w3c.dom.CDATASection |
DOMCharacterData | C_AF_DomCharacterData | org.w3c.dom.CharacterData |
DOMComment | C_AF_DomComment | org.w3c.dom.Comment |
DOMDocument | C_AF_DomDocument | org.w3c.dom.Document |
DOMDocumentFragment | C_AF_DomDocumentFragment | org.w3c.dom.DocumentFragment |
DOMDocumentType | C_AF_DomDocumentType | org.w3c.dom.DocumentType |
DOMElement | C_AF_DomElement | org.w3c.dom.Element |
DOMEntity | C_AF_DomEntity | org.w3c.dom.Entity |
DOMEntityReference | C_AF_DomEntityReference | org.w3c.dom.EntityReference |
DOMException | C_AF_DomException | |
DOMImplementation | ||
DOMNamedNodeMap | C_AF_DomNamedNodeMap | |
DOMNode | C_AF_DomNode | org.w3c.dom.Node |
DOMNodeList | C_AF_DomNodeList | |
DOMNotation | C_AF_DomNotation | org.w3c.dom.Notation |
DOMProcessingInstruction | C_AF_DomProcessingInstruction | org.w3c.dom.ProcessingInstructions |
DOMText | C_AF_DomText | org.w3c.dom.Text |
DOMXpath | ||
C_AF_DomTypeInfo | ||
C_AF_DomUserDataHandler | ||
C_AF_DomError | ||
C_AF_DomErrorHandler | ||
C_AF_DomNameList |
The Use of the DOM model in AIR
HTML Mapping | HTML5 Mapping |
![]() |
![]() |