anchor.diff:  
   elem_to_AST(#elem{name = Name, xmlns = XMLNS, cdata = CData,
                     result = Result, attrs = Attrs, refs = _Refs} = Elem,
  -            Tag, AllElems, Types) ->
  +            Tag, AllElems, Types, ModName) ->
       AttrAST = lists:flatmap(
                   fun(#attr{name = AttrName,
                             required = Required,
  
positive.code:     Arity = length(Args) + 1,
      case erlang:function_exported(?MODULE, Fun, Arity) of
          true ->
              {?MODULE, Fun, Args};
          false ->
              case lists:member({Fun, Arity}, KnownFunctions) of
                  true ->
  
negative.code:       ["% Created automatically by XML generator (xml_gen.erl)",
         "% Source: " ++ FileName]).
  
  make_top_decoders(TaggedSpecs, ModName) ->
      Clauses = lists:map(
                  fun({Tag, #elem{xmlns = XMLNS, name = Name}}) ->
                          erl_syntax:clause(
  