Improve message in XSL writer with broken structure file

If the structure.xml is broken a generic error is provided that
does not detail which issues were found. This commit expands that
message with the error that was encountered with libxml.