Hi Andrea: You can define multiple output formats that use the template driver. 
They can each have different names and mime-types. You can even use mime 
subtypes if you needed, say, two XML formats. The MapServer CGI supports a 
parameter called qformat that allows you to change the query template to be 
used. I'm not sure how this works with WFS, probably via mime-type.

Steve

From: [email protected] 
[mailto:[email protected]] On Behalf Of Andrea Peri
Sent: Tuesday, July 03, 2012 5:42 PM
To: [email protected]
Subject: [mapserver-users] One template for every text type

Hi,

As report from documentation, MapServer will allow to define a template to set 
the return from an identify.

I need to define almost two distinct kind of returns:
One for user (text/plain or text/html) and one for business application 
(text/xml).

So I like to define not only a template for return an XML but also a template 
for return an html page.

I don't know how to say to MapServer what template us for text/html and what 
for text/xml.

Is this possibile ?

Thx.

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to