<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def xsl_text(self, text, parent):
 """Construct an XSLT 'text' element containing `text`. `parent` is this element's parent. """

        res = ET.SubElement(parent, "text")
        res.text = text
        return res