SIMPOL Documentation

Chapter 49. libxmldom1

DOMDocument

Description

Type Tags

DOMNode

Object Value

Objects of type DOMDocument have no value, and it is an error to try to get or set this value.

DOMDocument.new()

Description

Prototype

DOMDocument.new ()

Parameters

None

Properties

PropertyTypeDescription
_docprivateLIBXMLDocumentPrivate
_nodeDOMNode
createAttributefunction
createAttributeNSfunction
createCDATASectionfunction
createCommentfunction
createDocumentFragmentfunction
createElementfunction
createElementNSfunction
createEntityReferencefunction
createProcessingInstructionfunction
createTextNodefunction
getDoctypefunction
getDocumentElementfunction
getDocumentURIfunction
getElementByIdfunction
getElementsByTagNamefunction
getElementsByTagNameNSfunction
getImplementationfunction
getXmlEncodingfunction
getXmlStandalonefunction
getXmlVersionfunction
importNodefunction
saveHTMLFilefunction
saveXMLFilefunction
setDebugModefunction
setDocumentURIfunction
setXmlStandalonefunction
setXmlVersionfunction
typetype
validatefunction

Methods

createAttribute()

Description

Prototype

DOMDocumentvar.createAttribute ( DOMDocument me, string name )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
nameNonestring

createAttributeNS()

Description

Prototype

DOMDocumentvar.createAttributeNS ( DOMDocument me, string namespaceURI, string qualifiedName )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
namespaceURINonestring
qualifiedNameNonestring

createCDATASection()

Description

Prototype

DOMDocumentvar.createCDATASection ( DOMDocument me, string data )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
dataNonestring

createComment()

Description

Prototype

DOMDocumentvar.createComment ( DOMDocument me, string data )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
dataNonestring

createDocumentFragment()

Description

Prototype

DOMDocumentvar.createDocumentFragment ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

createElement()

Description

Prototype

DOMDocumentvar.createElement ( DOMDocument me, string tagName )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
tagNameNonestring

createElementNS()

Description

Prototype

DOMDocumentvar.createElementNS ( DOMDocument me, string namespaceURI, string qualifiedName )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
namespaceURINonestring
qualifiedNameNonestring

createEntityReference()

Description

Prototype

DOMDocumentvar.createEntityReference ( DOMDocument me, string data )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
dataNonestring

createProcessingInstruction()

Description

Prototype

DOMDocumentvar.createProcessingInstruction ( DOMDocument me, string target, string data )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
targetNonestring
dataNonestring

createTextNode()

Description

Prototype

DOMDocumentvar.createTextNode ( DOMDocument me, string data )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
dataNonestring

getDoctype()

Description

Prototype

DOMDocumentvar.getDoctype ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

getDocumentElement()

Description

Prototype

DOMDocumentvar.getDocumentElement ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

getDocumentURI()

Description

Prototype

DOMDocumentvar.getDocumentURI ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

getElementById()

Description

Prototype

DOMDocumentvar.getElementById ( DOMDocument me, string elementId )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
elementIdNonestring

getElementsByTagName()

Description

Prototype

DOMDocumentvar.getElementsByTagName ( DOMDocument me, string tagname )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
tagnameNonestring

getElementsByTagNameNS()

Description

Prototype

DOMDocumentvar.getElementsByTagNameNS ( DOMDocument me, string namespaceURI, string localName )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
namespaceURINonestring
localNameNonestring

getImplementation()

Description

Prototype

DOMDocumentvar.getImplementation ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

getXmlEncoding()

Description

Prototype

DOMDocumentvar.getXmlEncoding ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

getXmlStandalone()

Description

Prototype

DOMDocumentvar.getXmlStandalone ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

getXmlVersion()

Description

Prototype

DOMDocumentvar.getXmlVersion ( DOMDocument me )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument

importNode()

Description

Prototype

DOMDocumentvar.importNode ( DOMDocument me, type(DOMNode) importedNode, boolean deep )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
importedNodeNonetype(DOMNode)
deepNoneboolean

saveHTMLFile()

Description

Prototype

DOMDocumentvar.saveHTMLFile ( DOMDocument me, string filePath, boolean format, string encoding )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
filePathNonestring
format.trueboolean
encodingNonestring

saveXMLFile()

Description

Prototype

DOMDocumentvar.saveXMLFile ( DOMDocument me, string filePath, boolean format, string encoding )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
filePathNonestring
format.trueboolean
encodingNonestring

setDebugMode()

Description

Prototype

DOMDocumentvar.setDebugMode ( DOMDocument me, boolean debugMode )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
debugModeNoneboolean

setDocumentURI()

Description

Prototype

DOMDocumentvar.setDocumentURI ( DOMDocument me, string documentURI )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
documentURINonestring

setXmlStandalone()

Description

Prototype

DOMDocumentvar.setXmlStandalone ( DOMDocument me, boolean xmlStandalone )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
xmlStandaloneNoneboolean

setXmlVersion()

Description

Prototype

DOMDocumentvar.setXmlVersion ( DOMDocument me, string xmlVersion )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
xmlVersionNonestring

validate()

Description

Prototype

DOMDocumentvar.validate ( DOMDocument me, string outputInfo )

Parameters
ParameterDefault valueType nameDescription
meNoneDOMDocument
outputInfoNonestring