Changes between Initial Version and Version 2 of Ticket #3334


Ignore:
Timestamp:
Feb 22, 2010, 7:18:34 AM (14 years ago)
Author:
dmorissette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3334

    • Property Cc msmitherdc added
    • Property Milestone 5.6 release6.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.
     1This 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.
    22
    33'''New Dependencies'''
     
    1212}}}
    1313
     14'''Usage:''' [[BR]]
     15In 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{{{
     17SetEnv MS_XMLMAPFILE_XSLT /path/to/mapfile.xsl
     18PassEnv MS_XMLMAPFILE_XSLT
     19}}}
     20
     21With this enabled, passing a .xml filename to the map CGI parameter will automatically trigger the conversion.
     22
    1423'''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.