anchor.diff:                                [erl_syntax:list(
                                    [make_function_call(
                                       make_enc_fun_name([RefName]),
  -                                    [Var, XMLNSAttrs])],
  +                                    [Var, ?AST(__TopXMLNS)])],
                                    ?AST(_acc))]);
                          (#ref{name = RefName}) ->
                               RefElem = get_elem_by_ref(RefName, AllElems),
  -                            XMLNS = RefElem#elem.xmlns,
  -                            XMLNSAttrs = case is_my_top_xmlns(XMLNS, TopXMLNS) of
  -					     true ->
  -                                                 ?AST([]);
  -					     {false, NS} ->
  -						 ?AST([{<<"xmlns">>, '?a(NS)'}])
  -                                         end,
                               Pattern =
                                   if length(Refs) > 1 ->
                                           erl_syntax:match_expr(
  
positive.code: 
  a(Term) ->
      abstract(Term).
  
  is_my_top_xmlns(XMLNS, TopXMLNS) when is_list(XMLNS), is_list(TopXMLNS) ->
      case sets:is_disjoint(sets:from_list(XMLNS), sets:from_list(TopXMLNS)) of
  	true ->
  	    {false, hd(XMLNS)};
  	false ->
  	    true
      end;
  is_my_top_xmlns(XMLNS, TopXMLNS) when is_list(XMLNS) ->
      is_my_top_xmlns(XMLNS, [TopXMLNS]);
  is_my_top_xmlns(XMLNS, TopXMLNS) when is_list(TopXMLNS) ->
      is_my_top_xmlns([XMLNS], TopXMLNS);
  is_my_top_xmlns(XMLNS, TopXMLNS) ->
      is_my_top_xmlns([XMLNS], [TopXMLNS]).
  
  label_to_var(Label) ->
      case atom_to_list(Label) of
  
negative.code: 			       erl_syntax:clause(
  				 [], none,
  				 [erl_syntax:case_expr(
  				    ?AST(is_known_tag(_el, __TopXMLNS)),
  				    [erl_syntax:clause(
  				       [?AST(true)],
  				       none,
  