Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/XML-Input/Ada/xml-input-3.ada
Normal file
14
Task/XML-Input/Ada/xml-input-3.ada
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
with Ada.Text_IO;
|
||||
package body My_Reader is
|
||||
procedure Start_Element
|
||||
(Handler : in out Reader;
|
||||
Namespace_URI : Unicode.CES.Byte_Sequence := "";
|
||||
Local_Name : Unicode.CES.Byte_Sequence := "";
|
||||
Qname : Unicode.CES.Byte_Sequence := "";
|
||||
Atts : Sax.Attributes.Attributes'Class) is
|
||||
begin
|
||||
if Local_Name = "Student" then
|
||||
Ada.Text_IO.Put_Line (Sax.Attributes.Get_Value (Atts, "Name"));
|
||||
end if;
|
||||
end Start_Element;
|
||||
end My_Reader;
|
||||
Loading…
Add table
Add a link
Reference in a new issue