resp = resource(request, pk=pk, emitter_format=emitter_format)
if emitter_format == 'xml':
# Ugly, but quick way of stripping <?xml?> header and <response> tags.
resp = resource(request, pk=pk, emitter_format=emitter_format)
if emitter_format == 'xml':
# Ugly, but quick way of stripping <?xml?> header and <response> tags.