Sign in Join
FPDoc Onlineexperiment

TXMLDocument class

In unit Laz2_DOM

Implements an XML Document.

Declaration

pascal
TXMLDocument = class(TDOMDocument)

Inheritance

  1. TXMLDocument
  2. TDOMDocument
  3. TDOMNode_WithChildren
  4. TDOMNode

Description

TXMLDocument is a TDOMDocument descendant that implements an XML Document. TXMLDocument provides extensions to the DOM Document interface needed when working with an XML Document. This includes the XMLVersion property as well as the Encoding, StylesheetType, and StylesheetHRef members. Overridden methods are also provided to handle creation of CDATA sections and Processing Instructions using valid XML names for the XMLVersion used in the document.

See also

Properties

XMLVersionpublicXML Version number supported in the document.

Methods

CreateCDATASectionpublicCreates a new CDATA section in the document.
CreateProcessingInstructionpublicCreates a new Processing Instruction in the document.
CreateEntityReferencepublicCreates a new Entity Reference in the document.

Fields

EncodingpublicEncoding used for the XML Document.
StylesheetTypepublicType of Stylesheet represented by the StylesheetHRef property.
StylesheetHRefpublicURL for the Stylesheet to use for the Document.

Inherited

From TDOMDocument (39)

AddID Alloc Create CreateAttribute CreateAttributeBuf CreateAttributeDef CreateAttributeNS CreateComment CreateCommentBuf CreateDocumentFragment CreateElement CreateElementBuf CreateElementNS CreateTextNode CreateTextNodeBuf Destroy DocType DocumentElement documentURI GetChildNodeList GetDocType GetDocumentElement GetElementById GetElementList GetElementsByTagName GetElementsByTagNameNS GetNodeName GetNodeType GetOwnerDocument GetTextContent Impl ImportNode IndexOfNS InsertBefore Names NodeListDestroyed RemoveID ReplaceChild SetTextContent

From TDOMNode_WithChildren (9)

CloneChildren DetachChild FindNode FreeChildren GetChildCount GetFirstChild GetLastChild HasChildNodes InternalAppend

From TDOMNode (47)

AppendChild Attributes baseURI Changing ChildNodes CloneNode CompareName FirstChild Flags FreeInstance GetAttributes GetBaseURI GetChildNodes GetEnumerator GetEnumeratorAllChildren GetLastLeaf GetLevel GetLocalName GetNamespaceURI GetNextNode GetNextNodeSkipChildren GetNodeValue GetPrefix GetPreviousNode GetRevision HasAttributes IsDefaultNamespace IsSupported LastChild LocalName LookupNamespaceURI LookupPrefix NamespaceURI NextSibling NodeName NodeType NodeValue Normalize OwnerDocument ParentNode Prefix PreviousSibling RemoveChild SetNodeValue SetPrefix SetReadOnly TextContent

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.