XML_Writers
Light-weight XML output file writers.
| | type XML_Writer | |
| Light-weight XML output file writer. | |
| | type XML_Writer_Access | |
| Type for instance variables. | |
Creating writers
| | function Current_Output | |
| Create an XML writer for current output (stdout). | |
|
| | function Create | |
| Create an XML writer for file output. | |
|
| | procedure Close | |
| Close an XML writer's output file. | |
Param | Type | Description |
in out This | XML_Writer_Access |
|
|
Writing tags
| | procedure Start_Tag | |
| Write '<' and one word. | |
|
| | procedure Close_Tag | |
| Write '>', possibly after extras like '?'. | |
|
| | procedure Write_Tag | |
| Start and close tag. | |
|
Writing attributes
| | procedure Write_Attribute_Name | |
| Write whitespace, then write one word. | |
|
| | procedure Write_Attribute_Value | |
| Write '=', then write one string. | |
|
| | procedure Write_Attribute | |
| Write attribute name and value. | |
|
Writing data
| | procedure Write_Data | |
| Write characters to output. | |
|
Writing elements
| | procedure Start_Element | |
| Write an element start tag. | |
|
| | procedure Close_Element | |
| Write an element close tag. | |
|
| | procedure Write_Element | |
| Write an empty element tag. | |
|
| | procedure Write_Element | |
| Write an element start tag, some data, an element close tag. | |
|
Writing elements with one attribute
| | procedure Start_Element | |
| Write an element start tag. | |
|
| | procedure Write_Element | |
| Write an empty element tag with one attribute. | |
|
| | procedure Write_Element | |
| Write an element start tag, some data, an element close tag. | |
|
|