docs: def wordrelationships(relationshiplist):
      '''Generate a Word relationships file'''
      # Default list of relationships
      # FIXME: using string hack instead of making element
      #relationships = makeelement('Relationships', nsprefix='pr')
      relationships = etree.fromstring(
          '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006'
          '/relationships"></Relationships>')
      count = 0
      for relationship in relationshiplist:
          # Relationship IDs (rId) start at 1.
          rel_elm = makeelement('Relationship', nsprefix=None,
                                attributes={'Id':     'rId'+str(count+1),
                                            'Type':   relationship[0],
                                            'Target': relationship[1]}
                                )
          relationships.append(rel_elm)
          count += 1
      return relationships