code: def wrap_arguments(args=None):
          
          if args is None:
              args = []
  
          tags = []
          for name, value in args:
              tag = "<{name}>{value}</{name}>".format(
                  name=name, value=escape("%s" % value, {'"': "&quot;"}))
              # % converts to unicode because we are using unicode literals.
              # Avoids use of 'unicode' function which does not exist in python 3
              tags.append(tag)
  
          xml = "".join(tags)
          return xml
docs: Wrap a list of tuples in xml ready to pass into a SOAP request.
  
          Args:
              args (list):  a list of (name, value) tuples specifying the
                  name of each argument and its value, eg
                  ``[('InstanceID', 0), ('Speed', 1)]``. The value
                  can be a string or something with a string representation. The
                  arguments are escaped and wrapped in <name> and <value> tags.
  
          Example:
  
              >>> from soco import SoCo
              >>> device = SoCo('192.168.1.101')
              >>> s = Service(device)
              >>> print(s.wrap_arguments([('InstanceID', 0), ('Speed', 1)]))
              <InstanceID>0</InstanceID><Speed>1</Speed>'