<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thank you very much Rich and Siki. It's working nice</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">William<BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Richard Greenwood &lt;richard.greenwood@gmail.com&gt;<BR>To: william paul &lt;williampaul28@yahoo.com&gt;<BR>Cc: mapserver mapserver &lt;mapserver-users@lists.umn.edu&gt;<BR>Sent: Wednesday, January 9, 2008 11:50:09 PM<BR>Subject: Re: [UMN_MAPSERVER-USERS] itemnquery problems<BR><BR>On Jan 9, 2008 12:55 PM, william paul &lt;<A href="mailto:williampaul28@yahoo.com" ymailto="mailto:williampaul28@yahoo.com">williampaul28@yahoo.com</A>&gt; wrote:<BR>&gt;<BR>&gt; Please, can you give an example (Rich or Siki)?<BR>&gt; I am using the same template for mapserver as for displaying the query<BR>&gt; results<BR>&gt;<BR>&gt; Thank you<BR>&gt;<BR>&gt; William<BR>&gt;<BR><BR>Below is the layer definition for the layer that displays my itemnquery results.<BR>&nbsp; tc.html is my main map template file.<BR>&nbsp; empty.html contains nothing at
 all.<BR>The important thing is that tc.html is associated with the HEADER (or<BR>FOOTER, as Siki pointed out), but not the TEMPLATE.<BR><BR>Layer<BR>&nbsp; NAME "region_spatial"<BR>&nbsp; TYPE&nbsp; polygon<BR>&nbsp; DATA region<BR>&nbsp; STATUS default<BR><BR>&nbsp; FILTERITEM pidn<BR>&nbsp; FILTER "%pidn%"<BR>&nbsp; HEADER "tc.html"&nbsp; # Use to display map<BR>&nbsp; TEMPLATE "empty.html"<BR>&nbsp; FOOTER "empty.html"<BR>&nbsp; CLASS<BR>&nbsp; &nbsp; &nbsp; OUTLINECOLOR 255 255 0<BR>&nbsp; &nbsp; &nbsp; SYMBOL 'solid' SIZE 6<BR>&nbsp; END # class<BR>END<BR>-- <BR>Richard Greenwood<BR><A href="mailto:richard.greenwood@gmail.com" ymailto="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</A><BR><A href="http://www.greenwoodmap.com/" target=_blank>www.greenwoodmap.com</A><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>