```def text = ''' <list> <tec...
# announcements
b
Copy code
def text = '''
    <list>
        <technology>
            <name>Groovy</name>
        </technology>
    </list>
'''

def list = new XmlSlurper().parseText(text) 
assert list.technology.name == 'Groovy'