Actually, from an information organization point of view, I was wondering why the def element was at that location. If you would need to generate a list of definitions out of that XML, you would need an XPath expression like //def which can be very bad performance wise.