Difference between revisions of "TXMLDocument"

From Free Pascal wiki
Jump to navigationJump to search
(TXMLDocument page created)
 
m (→‎See also: names are case-sensitive)
Line 24: Line 24:
  
 
== See also ==
 
== See also ==
[[xmlread]], [[xmlwrite]], [[TDomDocument]]
+
[[xmlread]], [[xmlwrite]], [[TDOMDocument]]

Revision as of 23:06, 28 September 2015

The TXMLDocument class holds XML data, e.g. from a file. It is a child of TDOMDocument.

Declaration

Excerpted from dom.pas

TXMLDocument = class(TDOMDocument)
  private
    FXMLVersion: DOMString;
    procedure SetXMLVersion(const aValue: DOMString);
  public
    // These fields are extensions to the DOM interface:
    Encoding, StylesheetType, StylesheetHRef: DOMString;

    function CreateCDATASection(const data: DOMString): TDOMCDATASection; override;
    function CreateProcessingInstruction(const target, data: DOMString): TDOMProcessingInstruction; override;
    function CreateEntityReference(const name: DOMString): TDOMEntityReference; override;
    property XMLVersion: DOMString read FXMLVersion write SetXMLVersion;
  end;

Back to fcl-xml overview.

See also

xmlread, xmlwrite, TDOMDocument