Sign in Join
Wiki copytemporary

TXMLDocument: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: TXMLDocument

OldNewLine
1+The TXMLDocument class holds XML data, e.g. from a file. It is a child of [[TDOMDocument]].
2+
3+## Declaration
4+
5+This is excerpted from dom.pas
6+
7+``` pascal
8+TXMLDocument = class(TDOMDocument)
9+ private
10+ FXMLVersion: DOMString;
11+ procedure SetXMLVersion(const aValue: DOMString);
12+ public
13+ // These fields are extensions to the DOM interface:
14+ Encoding, StylesheetType, StylesheetHRef: DOMString;
15+
16+ function CreateCDATASection(const data: DOMString): TDOMCDATASection; override;
17+ function CreateProcessingInstruction(const target, data: DOMString): TDOMProcessingInstruction; override;
18+ function CreateEntityReference(const name: DOMString): TDOMEntityReference; override;
19+ property XMLVersion: DOMString read FXMLVersion write SetXMLVersion;
20+ end;
21+```
22+
23+Go back to [[fcl-xml]] overview.
24+
25+## See also
26+
27+- [[xmlread]]
28+- [[xmlwrite]]
29+- [[TDOMDocument]]
30+
31+---
32+*From the Free Pascal wiki, page "TXMLDocument", as it stood on 2020-08-13 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history