struct type t = { db : string ; tag : Object_id.t ; } let of_xml x = { db = sleaf_exn "Dbtag_db" x ; tag = Object_id.of_xml (x |> echild_exn "Dbtag_tag" |> echild_exn "Object-id") } end