Difference between revisions of "TXMLDocument"

From Lazarus wiki
Jump to navigationJump to search
m (→‎See also: names are case-sensitive)
Line 1: Line 1:
 
The TXMLDocument class holds XML data, e.g. from a file. It is a child of [[TDOMDocument]].  
 
The TXMLDocument class holds XML data, e.g. from a file. It is a child of [[TDOMDocument]].  
  
== Declaration ==
+
== Declaración ==
Excerpted from dom.pas
+
 
 +
Extraido desde dom.pas
 
<source>
 
<source>
 
TXMLDocument = class(TDOMDocument)
 
TXMLDocument = class(TDOMDocument)
Line 19: Line 20:
 
</source>
 
</source>
  
Back to [[fcl-xml]] overview.
+
Volver a [[fcl-xml]] overview.
  
 
[[Category:XML]]
 
[[Category:XML]]

Revision as of 13:30, 23 September 2016

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

Declaración

Extraido desde 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;

Volver a fcl-xml overview.

See also

xmlread, xmlwrite, TDOMDocument