<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Generic template for WMS GetFeatureInfo</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi list,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I too want to serve GetFeatureInfo requests. However, I wonder if it is necessary to have a template per layer, when all I want to do is &quot;show all attribute values in a HTML table&quot;. The thing is, I have a handful of services with approx. 40 layers in each. Each layer has on average a dozen attributes, so all in all, I am looking to simplify maintenance of 2000 HTML table cells. Has anyone done anything in a script or otherwise, so that one can use the same template file on layers with varying attribute lists?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I am considering utilising the fact that a TEMPLATE statement can reference a URL: I imagine that this might refer to a PHP-script, which takes e.g. a database table name, and returns a HTML response with the column names. Has anyone done anything like this?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Julian Hollingbery</FONT>
</P>

</BODY>
</HTML>