[Geoserver-users] WMS getfeatureinfo output format

Hello,

I want to now if it’s possible to have the response on xml for a wms getfeatureinfo? I try text/xml but I have "Invalid format ‘text/xml’, supported formats are [text/plain, text/html, application/vnd.ogc.gml] "

Thanks

Jim

Jimmy Aumard ha scritto:

Hello,

I want to now if it's possible to have the response on xml for a wms getfeatureinfo? I try text/xml but I have "Invalid format 'text/xml', supported formats are [text/plain, text/html, application/vnd.ogc.gml] "

Use "application/vnd.ogc.gml", it's GML2, thus XML. The format name
is mandated by OGC specification.
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.