human
how do i acess the text of xml using.
assistant
Here is a Python function to how do I access the text of xml using a Python script

import xml.etree.ElementTree as ET

def get_text_from_xml(xml_string):
    """
    Get the text of an xml string.
    """
    return xml_string.split("<")[1].split(">")[0]

# Enter the xml string
xml_string = "<root><child>Hello</child></root>"

# Calling the function
print((get_text_from_xml(xml_string)))

#Example Output
# root

#Remember to inspect code for bugs.