StartDocument(1.0, utf-8)
StartElement(project [name="project-name"])
StartElement(libraries)
StartElement(library [groupId="org.example", artifactId="<name>", version="0.1"])
EndElement(library)
StartElement(library [groupId="com.example", artifactId="\"cool-lib&", version="999"])
EndElement(library)
EndElement(libraries)
StartElement(module [name="module-1"])
StartElement(files)
StartElement(file [name="somefile.java", type="java"])
Characters("Some <java> class")
EndElement(file)
StartElement(file [name="another_file.java", type="java"])
Characters("Another \"java\" class")
EndElement(file)
StartElement(file [name="config.xml", type="xml"])
Characters("Weird \'XML\' config")
EndElement(file)
EndElement(files)
StartElement(libraries)
StartElement(library [groupId="junit", artifactId="junit", version="1.9.5"])
EndElement(library)
EndElement(libraries)
EndElement(module)
StartElement(module [name="module-2"])
StartElement(files)
StartElement(file [name="program.js", type="javascript"])
Characters("JavaScript & program")
EndElement(file)
StartElement(file [name="style.css", type="css"])
Characters("Cascading style sheet: © - ҉")
EndElement(file)
EndElement(files)
EndElement(module)
EndElement(project)
EndDocument
