Lines Matching refs:ids
503 _, ids = ET.XMLID("<html><body>text</body></html>")504 self.assertEqual(len(ids), 0)505 _, ids = ET.XMLID("<html><body id='body'>text</body></html>")506 self.assertEqual(len(ids), 1)507 self.assertEqual(ids["body"].tag, 'body')