| Description | Hierarchy | Fields | Methods | Properties |
type TXMLWriter = class(TWrapper)
Class for writing XML files. This XML Writer writes xml files using in the platform dependent wchar_t format and sets the xml-encoding correspondingly.
![]() |
procedure WriteClosingTag(const Name: StringType); inline; |
![]() |
procedure WriteComment(const Comment: StringType); inline; |
![]() |
procedure WriteElement(const Name: StringType; Empty: Boolean; const AttributeNames, AttributeValues: array of StringType); |
![]() |
procedure WriteLineBreak; inline; |
![]() |
procedure WriteText(const Text: StringType); inline; |
![]() |
procedure WriteXMLHeader; inline; |
![]() |
procedure WriteClosingTag(const Name: StringType); inline; |
|
Writes the closing tag for an element. Like "</foo>". | |
![]() |
procedure WriteComment(const Comment: StringType); inline; |
|
Writes a comment into the xml file. | |
![]() |
procedure WriteElement(const Name: StringType; Empty: Boolean; const AttributeNames, AttributeValues: array of StringType); |
|
Writes an xml element with any number of attributes. | |
![]() |
procedure WriteLineBreak; inline; |
|
Writes a line break. | |
![]() |
procedure WriteText(const Text: StringType); inline; |
|
Writes a text into the file. | |
![]() |
procedure WriteXMLHeader; inline; |
|
Writes an xml 1.0 header. | |