anchor.diff:                    #field{
                        type = unicode,
                        name = OpName,
  +                     disp_name = get_disp_name(Options, OpName, string_to_id(get_attribute(id, I))),
                        ns = get_bin_attribute(ns, I),
                        id = string_to_id(get_attribute(id, I)),
                        presence = string_to_presence(Presence),
  
positive.code:             need_pmap = NeedPMap,
              instructions = GroupInstructions} | Instructions], need_pmap(Presence)};
  
  parse_instruction([#xmlText{} | Tail], Dicts, DefDict) ->
     parse_instruction(Tail, Dicts, DefDict);
  
  
  % Handle XML comments in template file
  parse_instruction([#xmlComment{} | Tail],Dicts,DefDict) ->
    %just ignore them...
    parse_instruction(Tail,Dicts,DefDict);
  
  
  parse_instruction([I | _Tail], _, _) ->
     erlang:error({unknown_tag, I}).
  
  parse_dec_op(OpName, Childs, Dicts, DefDict) ->
  
negative.code: string_to_type(_, Str) ->
     Str.
  
  get_disp_name(Options, Name, Id) when is_list(Options) ->
     get_disp_name(proplists:get_value(use_id, Options, false), Name, Id);
  
  get_disp_name(false, Name, _Id) ->
     Name;
  get_disp_name(true, Name, undef) ->
     Name;
  get_disp_name(true, _Name, Id) ->
     Id.
  
  get_disp_name(Options, GroupInstructions, Name, Id) when is_list(Options) ->
     get_disp_name(proplists:get_value(use_id, Options, false), GroupInstructions, Name, Id);
  
  get_disp_name(false, _GroupInstructions, Name, _Id) ->
     Name;
  get_disp_name(true, [#field{type = length, disp_name = DispName}|_Rest], _Name, undef) ->
     DispName;
  get_disp_name(true, _GroupInstructions, Name, undef) ->
     Name;
  get_disp_name(true, _GroupInstructions, _Name, Id) ->
     Id.
  
  %% ====================================================================================================================
  %% unit testing
  %% ====================================================================================================================
  