pdf and xml exporter