Utility code for dealing with XML in the context of eclipse.