Package Xml_Writer

AuthorJulien Burdy & Vincent Decorges
Date22.4.02
DescriptionSub-programm to creat xml file for AdaDoc
File namexml_writer.ads
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
Ada.Text_IO
Dict_Tda
 
Use clauses
Ada.Text_IO
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Begin_File procedure
Name : Begin_File
Purpose : Writing the beginning of the XML file

in : File : File to write to
in : Package_Name
Parameter name Type Mode Default
FileFile_Typein
AttributesDict_Tda.Dict_Typein
  
Create_Tag procedure
Name : Create_Tage
Purpose : Open and Write tag

in : File : File to write to
in : Name : Name of the tag
in : Attributes : Array of attributes
in : Contents : Content of the array
Parameter name Type Mode Default
FileFile_Typein
NameStringin
AttributesDict_Tda.Dict_Typein
ContentStringin""
  
Close_Tag procedure
Name : Close_Tag
Purpose : Close a tag

in : File : File to write to
in : Name : Name of the tag
Parameter name Type Mode Default
FileFile_Typein
NameStringin
  
End_File procedure
Name : End_File
Purpose : Writing the end of the XML file

in : File : File to write to
Parameter name Type Mode Default
FileFile_Typein
  
Validate function
ReturnString
Name : Validate
Purpose : Validate a string to xml standard

in : Element : the string to validate
return : The Element validated
Parameter name Type Mode Default
ElementStringin