def getXMPPURI(service, nodeIdentifier):
    """
    Construct an XMPP URI from a service JID and node identifier.
    """
    return "xmpp:%s?;node=%s" % (service.full(), nodeIdentifier or '')
dataset/ETHPy150Open ralphm/idavoll/idavoll/gateway.py/getXMPPURI/original