anchor.diff:                            []
                     end,
       ElemClauses = make_els_dec_clause(FunName, CDataVars,
  -                                      Refs, TopXMLNS, AllElems, Result, Types),
  +                                      Refs, TopXMLNS, AllElems, Result,
  +                                      Types, Opts),
       ResultElems = lists:map(
                       fun({L, [#ref{min = 0, max = 1}|_]}) ->
                               label_to_var(L);
  
positive.code: 
  elem_to_AST(#elem{name = Name, xmlns = XMLNS, cdata = CData,
                    result = Result, attrs = Attrs, refs = _Refs} = Elem,
              Tag, AllElems, Types, ModName) ->
      AttrAST = lists:flatmap(
                  fun(#attr{name = AttrName,
                            required = Required,
  
negative.code:                       true = is_atom(H),
                        false = is_label(H),
                        [Tag] = dict:fetch(H, RecNames),
                        XMLNSAttrs = if IgnoreXMLNS ->
                                             erl_syntax:list([]);
                                        true ->
                                             erl_syntax:list(
                                               [erl_syntax:tuple(
                                                  [abstract(<<"xmlns">>),
                                                   abstract(XMLNS)])])
                                     end,
                        [erl_syntax:clause(
                           [erl_syntax:match_expr(NewResult, Var)],
                           none,
  