@property
    def text(self):
        def anon(rel):
            return re.sub(r' Id="[^"]+" ', r' Id="x" ', rel)

        lines = self.xml.split('\n')
        relationships = [l for l in lines if l.startswith('  <R')]
        anon_rels = sorted([anon(r) for r in relationships])
        out_lines = lines[:2] + anon_rels + lines[-1:]
        out = '\n'.join(out_lines)
        return out
Return the <Relationships ...> XML for this rels item formatted for
dataset/ETHPy150Open python-openxml/opc-diag/opcdiag/presenter.py/RelsItemPresenter.text