code: def parse_endnote(document, container, elem):
      "Parse the endnote element."
  
      _rid = elem.attrib[_name('{{{w}}}id')]
      note = doc.Endnote(_rid)
      container.elements.append(notef parse_endnote(document, container, elem):
      "Parse the endnote element."
  
      _rid = elem.attrib[_name('{{{w}}}id')]
      note = doc.Endnote(_rid)
      container.elements.append(note)
docs: Parse the endnote element.