Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
e.g. try the following script in the shell...
xml = """<people>
<person name="Rod">
<pet name="Misha" age="8"/>
<pet name="Bowie" age="2"/>
</person>
<person name="Eric">
<pet name="Poe" age="4"/>
<pet name="Doc" age="3"/>
</person></people>"""
people = new groovy.util.XmlParser().parseText( xml )
println people.person.pet.name
Attachments
Issue Links
- is depended upon by
-
GROOVY-756 improve GroovyShell
- Closed