Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
16
Task/XML-Input/Ada/xml-input-5.adb
Normal file
16
Task/XML-Input/Ada/xml-input-5.adb
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
with League.Application;
|
||||
with XML.SAX.Input_Sources.Streams.Files;
|
||||
with XML.SAX.Simple_Readers;
|
||||
|
||||
with Handlers;
|
||||
|
||||
procedure Main is
|
||||
Handler : aliased Handlers.Handler;
|
||||
Input : aliased XML.SAX.Input_Sources.Streams.Files.File_Input_Source;
|
||||
Reader : aliased XML.SAX.Simple_Readers.SAX_Simple_Reader;
|
||||
|
||||
begin
|
||||
Input.Open_By_File_Name (League.Application.Arguments.Element (1));
|
||||
Reader.Set_Content_Handler (Handler'Unchecked_Access);
|
||||
Reader.Parse (Input'Unchecked_Access);
|
||||
end Main;
|
||||
Loading…
Add table
Add a link
Reference in a new issue