Fixed error with rapidXML.

The error was caused when trying to call ->value() on an attributed when
it didn't exist on that node. Caused a Segment Fault.