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