[Date Prev][Date Next] [Chronological] [Thread] [Top]

[mapserver-users] HTML fragments and #



I have an HTML document that I wish to use as a template in a query. It is divided into 13 fragments. Normally I would address it as "document.html#section_5" to position the document to the Section 5 fragment. In my .map I'd like to do something like:
TEMPLATE "document.html#[section]"
Where [section] gets replaced with appropriate section number from the .dbf based on which polygon the user selected.

But I have two problems:
1. The # gets parsed by mapserver as a comment.
2. [section] doesn't get replaced.

Any suggestions?

Thanks,
Rich



Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich@GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com