GeoTools

XML encoder always put a xml prolog in the generate output, this is unsuitable for partial document generation