anchor.diff:             attrs = [{<<"node">>, NodeName},
                       {<<"jid">>, escalus_utils:get_jid(User)}]}.
   
  +set_subscription_options_form(NodeName, User, Children) ->
  +    #xmlel{name = <<"options">>,
  +           attrs = [{<<"node">>, NodeName},
  +                    {<<"jid">>, escalus_utils:get_jid(User)}],
  +           children = [#xmlel{name = <<"x">>,
  +                              attrs = [{<<"xmlns">>, <<"jabber:x:data">>},
  +                                       {<<"type">>, <<"submit">>}],
  +                              children = Children}]}.
  +
   form_element(FormName, NodeName, FieldElements) ->
       #xmlel{name = FormName,
              attrs = skip_undefined([{<<"node">>, NodeName}]),
  
positive.code:     Element = subscription_options(NodeName, User),
      pubsub_iq(<<"get">>, User, Id, NodeAddr, [Element]).
  
  -spec get_node_subscriptions(escalus_utils:jid_spec(), binary(), pubsub_node_id()) ->
                                           exml:element().
  get_node_subscriptions(User, Id, {NodeAddr, NodeName}) ->
  
negative.code:          get_pending_subscriptions/3,
           get_user_subscriptions/3,
           get_subscription_options/3,
           set_subscription_options/4,
           get_node_subscriptions/3,
           set_subscriptions/4,
  
  