Changes between Initial Version and Version 2 of Ticket #3334
- Timestamp:
- Feb 22, 2010, 7:18:34 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3334
- Property Cc added
- Property Milestone 5.6 release → 6.0 release
-
Ticket #3334 – Description
initial v2 1 This ticket is to add the ability to MapServer to load automatically xml mapfiles without user xslt tranformations. Basicly, MapServer will simply do a xslt transformation when the mapfile passed to is a xml one, then process the mapfile normally.1 This ticket is to add the ability to MapServer to load automatically xml mapfiles without user xslt tranformations. Basicly, MapServer will simply do a xslt transformation when the mapfile passed to is a xml one, convert it to a text mapfile in a temporary file on disk, then process the mapfile normally. 2 2 3 3 '''New Dependencies''' … … 12 12 }}} 13 13 14 '''Usage:''' [[BR]] 15 In order to enable this feature, set the MS_XMLMAPFILE_XSLT environment variable to point to the location of the XSLT to use for the XML->text mapfile conversion. e.g. in Apache: 16 {{{ 17 SetEnv MS_XMLMAPFILE_XSLT /path/to/mapfile.xsl 18 PassEnv MS_XMLMAPFILE_XSLT 19 }}} 20 21 With this enabled, passing a .xml filename to the map CGI parameter will automatically trigger the conversion. 22 14 23 '''Note:''' This is a first step to xml mapfile loading support. Obviously, there is a cost to parse and translate the xml mapfile.. but this allows to use xml mapfile more easily.