Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
14
Task/XML-Input/Ada/xml-input-3.adb
Normal file
14
Task/XML-Input/Ada/xml-input-3.adb
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