Class TXMLWriter

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXMLWriter = class(TWrapper)

Description

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.

Hierarchy

Overview

Methods

Public procedure WriteClosingTag(const Name: StringType); inline;
Public procedure WriteComment(const Comment: StringType); inline;
Public procedure WriteElement(const Name: StringType; Empty: Boolean; const AttributeNames, AttributeValues: array of StringType);
Public procedure WriteLineBreak; inline;
Public procedure WriteText(const Text: StringType); inline;
Public procedure WriteXMLHeader; inline;

Description

Methods

Public procedure WriteClosingTag(const Name: StringType); inline;

Writes the closing tag for an element. Like "</foo>".

Public procedure WriteComment(const Comment: StringType); inline;

Writes a comment into the xml file.

Public procedure WriteElement(const Name: StringType; Empty: Boolean; const AttributeNames, AttributeValues: array of StringType);

Writes an xml element with any number of attributes.

Public procedure WriteLineBreak; inline;

Writes a line break.

Public procedure WriteText(const Text: StringType); inline;

Writes a text into the file.

Public procedure WriteXMLHeader; inline;

Writes an xml 1.0 header.


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22