Simple XML parser uses Java Reflection API