<DIV>dear&nbsp; <B><I>Frank Koormann </I></B></DIV>  <DIV><B><I></I></B>&nbsp;</DIV>  <DIV><B><I>here is my map file, dont know why it prints the template with out data.please help me.</I></B></DIV>  <DIV><STRONG><EM></EM></STRONG>&nbsp;</DIV>  <DIV><STRONG><EM>-----------------------------------------------------------------------------------------------------------------------</EM></STRONG></DIV>  <DIV>NAME Karachi<BR>STATUS ON</DIV>  <DIV><BR>SIZE 800 600<BR>SHAPEPATH "karachiShape"</DIV>  <DIV>WEB<BR>&nbsp;IMAGEPATH "C:/tmp/"<BR>&nbsp;IMAGEURL "C:/tmp/"<BR>END</DIV>  <DIV><BR>EXTENT 40.2283 -5.55177 49.7201 1.8823<BR>UNITS dd<BR>IMAGECOLOR 255 255 255<BR>IMAGETYPE png</DIV>  <DIV>QUERYMAP<BR>&nbsp;STATUS ON<BR>&nbsp;# the map is queryable by default<BR>&nbsp;STYLE HILITE<BR>&nbsp;# the selected object is highligthed<BR>&nbsp;COLOR 255 0 0<BR>&nbsp;SIZE -1 -1 <BR>END<BR>&nbsp; LEGEND<BR>&nbsp;&nbsp;&nbsp; KEYSIZE 18 12<BR>&nbsp;&nbsp;&nbsp;
 LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE BITMAP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE MEDIUM<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 89<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp; END</DIV>  <DIV><BR>LAYER<BR>&nbsp; NAME charge_region<BR>&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS ON<BR>&nbsp; DATA CHARGE_region<BR>&nbsp; LABELITEM "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "CHARGE_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 146 154 155<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 43 170 115<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE
 TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME charge_polyline<BR>&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE LINE<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA CHARGE_polyline<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "CHARGE_polyline"<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 3 97 136<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME circle_region<BR>&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA CIRCLE_region<BR>&nbsp; LABELITEM "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "CIRCLE_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 90 15 155<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 200 205 133<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME important_locations_point<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POINT<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA "IMPORTANT LOCATIONS_point"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "IMPORTANT LOCATIONS_point"<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME town_region<BR>&nbsp;&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA TOWN_region<BR>&nbsp; LABELITEM "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "TOWN_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 77 224
 186<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 244 237 138<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME town_text<BR>&nbsp;&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POINT<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA TOWN_text<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "TOWN_text"<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME union_council_region<BR>&nbsp;&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS
 ON<BR>&nbsp; DATA "UNION COUNCIL_region"<BR>&nbsp;&nbsp; LABELITEM "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "UNION COUNCIL_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 37 118 61<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 220 54 199<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>END </DIV>  <DIV><B><I>------------------------------------------------------------------------------------------------------------------------</I></B></DIV>  <DIV><B><I></I></B>&nbsp;</DIV>  <DIV><BR><BR><B><I>Frank Koormann &lt;frank.koormann@INTEVATION.DE&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq
 style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Am Freitag 23 Juni 2006 10:20 schrieb absar ali:<BR>&gt; i am using the following line to query the map<BR>&gt; &nbsp; &nbsp;<BR>&gt; &nbsp; window.open("/cgi-bin/mapserv.exe?map<BR>&gt; paramerters......................."); <BR>&gt; &nbsp; but it just prints .<BR>&gt; &nbsp; Code No [codeno]<BR>&gt; &nbsp; Name [name]<BR><BR>Templates ([codeno], [name]) must be written exactly like the attribute titles <BR>in the data. Most commonly are case sensitivity problems, since titles often <BR>are upper case. Try [CODENO] ....<BR><BR>HTH,<BR><BR>Frank<BR></BLOCKQUOTE><p>&#32;
                <hr size=1>Yahoo! Sports Fantasy Football ’06 - Go with the leader. 
<a href="http://us.rd.yahoo.com/evt=33539/*http://football.fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration&ovcrn=Mail+footer&ovrfd=YAH&ovtac=AD">Start your league today!</a>