code: def get_text(self, xml, name):
          
          nodes = xml.getElementsByTagName("wp:comment_" + name)[0].childNodes
          accepted_types = [Node.CDATA_SECTION_NODE, Node.TEXT_NODE]
          return "".join([n.data for n in nodes if n.nodeType in accepted_types])
docs: Gets the element's text value from the XML object provided.