Difference between revisions of "TXMLDocument"

From Free Pascal wiki
Jump to navigationJump to search
m (Add page template (for /es version inclusion); move categories to page template)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{TXMLDocument}}
 +
 
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]].  
  
== Declaración ==
+
== Declaration ==
 +
 
 +
This is excerpted from dom.pas
  
Extraido desde dom.pas
+
<syntaxhighlight lang=pascal>
<source>
 
 
TXMLDocument = class(TDOMDocument)
 
TXMLDocument = class(TDOMDocument)
 
   private
 
   private
Line 18: Line 21:
 
     property XMLVersion: DOMString read FXMLVersion write SetXMLVersion;
 
     property XMLVersion: DOMString read FXMLVersion write SetXMLVersion;
 
   end;
 
   end;
</source>
+
</syntaxhighlight>
  
Volver a [[fcl-xml]] overview.
+
Go back to [[fcl-xml]] overview.
  
[[Category:XML]]
+
== See also ==
  
== See also ==
+
* [[xmlread]]
[[xmlread]], [[xmlwrite]], [[TDOMDocument]]
+
* [[xmlwrite]]
 +
* [[TDOMDocument]]

Latest revision as of 03:45, 13 August 2020

English (en) español (es)

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

Declaration

This is 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;

Go back to fcl-xml overview.

See also