let f s = "name", s in
E.names f map a ""
+let apix a =
+ let err () = "age", "" in
+ let f i = "age", string_of_int i in
+ E.apix err f a
+
let mark a =
let err () = "mark", "" in
let f i = "mark", string_of_int i in
let out = output_string och in
xml out "1.0" "UTF-8"; doctype out obj_root system;
let a = E.Name (U.name_of_uri u, true) :: a in
- let attrs = uri u :: name a :: mark a :: meta a :: info a in
+ let attrs = uri u :: name a :: apix a :: meta a :: info a in
let contents = match b with
- | E.Abst (n, w) -> tag "ABST" (level n :: attrs) ~contents:(pp_term w)
- | E.Abbr v -> tag "ABBR" attrs ~contents:(pp_term v)
+ | E.Abst (n, w) -> tag "GDec" (level n :: attrs) ~contents:(pp_term w)
+ | E.Abbr v -> tag "GDef" attrs ~contents:(pp_term v)
| E.Void -> assert false
in
let opts = if !G.si then "si" else "" in