<div id="RTEContent">&nbsp;<br>I have a MapServer HTML Template and am performing template substitutions.&nbsp; I would like reference values using JavaScript variables containing the template substitution.&nbsp; For example, simply getting the MapServer version number is easy via "[ROADS]", where 'ROADS' is the name of a field in a dBase file.&nbsp; But I want to get the value as a variable like <br><br>myVariable0 = "ROADS";<br>myVariable1 = '"[' + myVariable0 + ']"';<br><br>Any thoughts are welcome.<br><br><br>Thanks, <br><br>Jason Sievers</div><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com