1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
------------------------------------------------------------------------------
-- --
-- GNAT2XML COMPONENTS --
-- AVATOX COMPONENTS --
-- --
-- AVATOX (Ada, Via Asis, To Xml) --
-- --
-- --
-- Copyright (C) 2006, McKae Technologies. --
-- Copyright (C) 2012-2013, AdaCore, Inc. --
-- --
-- Avatox is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the Free --
-- Software Foundation; either version 2, or (at your option) any later --
-- version. Avatox is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MER- --
-- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General --
-- Public License for more details. You should have received a copy of the --
-- GNU General Public License distributed with GNAT; see file COPYING. If --
-- not, write to the Free Software Foundation, 59 Temple Place Suite 330, --
-- Boston, MA 02111-1307, USA. --
-- --
-- Avatox is maintained by McKae Technologies (http://www.mckae.com) --
-- --
-- The gnat2xml tool was derived from the Avatox sources. --
------------------------------------------------------------------------------
pragma Ada_2012;
with McKae.XML.EZ_Out.Generic_Medium;
with Ada.Text_IO; use Ada.Text_IO;
pragma Elaborate_All (McKae.XML.EZ_Out.Generic_Medium);
package Gnat2xml.Xml_File_Output is new McKae.XML.EZ_Out.Generic_Medium
(Output_Medium => Ada.Text_IO.File_Type,
Max_Element_Nesting => 20_000);
|