<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>A question <SPAN
class=800431916-21042009>regarding </SPAN>MapServer Query
Templates.<BR><BR><SPAN class=800431916-21042009>Is there away to </SPAN>put
conditions into a MapServer query template (when you click on a feature, send a
wfs request and <SPAN class=800431916-21042009>attempt </SPAN>to format the
results)<SPAN class=800431916-21042009>?</SPAN><BR><BR>My template looks like
this<SPAN class=800431916-21042009>:</SPAN><BR><BR><table<SPAN
class=800431916-21042009>></SPAN><BR>
<tr><BR>
<td>Installer:
</td><BR>
<td>[installer]</td><BR>
</tr><BR></table><BR><BR>What I would like to do is only show the
installer <SPAN class=800431916-21042009>ROW </SPAN>if the
installer <SPAN class=800431916-21042009>result info </SPAN>is <SPAN
class=800431916-21042009>not empty. </SPAN>So I'd like to wrap it
in <SPAN class=800431916-21042009>some type of</SPAN> IF
statement. <SPAN class=800431916-21042009>Is it possible to do this
directly in the query template, or does this need to happen earlier in the
process?</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=800431916-21042009><FONT face=Verdana
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800431916-21042009><FONT face=Verdana size=2>A quick note: my
data is sitting on MySQL (long, lat), being served via MS4W
2.3.1.</FONT></SPAN></DIV>
<DIV><SPAN class=800431916-21042009><FONT face=Verdana
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=800431916-21042009><FONT face=Verdana
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana size=2><STRONG>Grant
McKenzie</STRONG></FONT></DIV></BODY></HTML>