anchor.diff:  -include_lib("exml/include/exml_stream.hrl").
   
   -export([
  -         create_node_stanza/3,
  +         create_node_stanza/4,
            create_specific_node_stanza/1,
            create_subscribe_node_stanza/2,
            create_request_allitems_stanza/1,
  
positive.code: 
  %% ------------ subscribe - unscubscribe -----------
  
  subscribe_by_user_stanza(User, NodeName, NodeAddress) ->
      SubscribeToNode = create_subscribe_node_stanza(NodeName, User),
      UserName = escalus_utils:get_username(User),
      Id = <<UserName/binary,<<"binsuffix">>/binary>>,
      iq_with_id(set, Id, NodeAddress, User,  [SubscribeToNode]).
  
  unsubscribe_by_user_stanza(User, NodeName, NodeAddress) ->
      UnubscribeFromNode = create_unsubscribe_from_node_stanza(NodeName, User),
      Id = <<"unsub1">>,
      escalus_pubsub_stanza:iq_with_id(set, Id, NodeAddress, User,  [UnubscribeFromNode]).
  
  create_subscribe_node_stanza(NodeName, From) ->
      SubsrNode = create_sub_unsubscribe_from_node_stanza(NodeName, From, <<"subscribe">>),
  
negative.code:          retract_from_node_stanza/2,
           retrieve_subscriptions_stanza/1,
           set_subscriptions_stanza/2,
           subscribe_by_user_stanza/4,
           unsubscribe_by_user_stanza/4
          ]).
  
  
  