Yes, I have.<div>But I still don&#39;t understand why define a template under class level.</div><div>I just wonder when it can be used if you defined a template under class level.</div><div>The template defined under layer level will be used when request GetFeature service.</div>
<div>But how about the one under class level.</div><div><br></div><div>JJ</div><div><br><div class="gmail_quote">On Mon, Sep 5, 2011 at 5:28 PM, Havard Tveite <span dir="ltr">&lt;<a href="mailto:havard.tveite@umb.no">havard.tveite@umb.no</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Have you had a look at <a href="http://mapserver.org/mapfile/template.html" target="_blank">http://mapserver.org/mapfile/<u></u>template.html</a> ?<br>

<br>
Håvard<div><div></div><div class="h5"><br>
<br>
On 9/5/2011 8:44 AM, jjwang wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
In mapfile, under the class level, you can define a &#39;template&#39;.<br>
What&#39;s this used for?<br>
And how to write the template?<br>
I&#39;m assuming it&#39;s relevant to the getFeature request.<br>
I want the class info to be included in  the response of the getFeature<br>
request.<br>
How can I do this?<br>
Best show me some examples?<br>
<br>
Thanks in advance.<br>
<br>
JJ<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/template-in-class-tp6759942p6759942.html" target="_blank">http://osgeo-org.1803224.n2.<u></u>nabble.com/template-in-class-<u></u>tp6759942p6759942.html</a><br>

Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><br>
<br>
</blockquote>
<br></div></div><font color="#888888">
-- <br>
Håvard Tveite<br>
Department of Mathematical Sciences and Technology, UMB<br>
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY<br>
Phone: <a href="tel:%2B47%2064965483" value="+4764965483" target="_blank">+47 64965483</a> Fax: <a href="tel:%2B47%2064965401" value="+4764965401" target="_blank">+47 64965401</a> <a href="http://www.umb.no/imt/" target="_blank">http://www.umb.no/imt/</a><br>

</font></blockquote></div><br></div>