Opened 14 years ago
Last modified 13 years ago
#3334 closed defect
XML Mapfile loading support — at Initial Version
Reported by: | aboudreault | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | Documentation - MapServer | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | xml, mapfile, load |
Cc: | dmorissette, msmitherdc, havatv |
Description
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.
New Dependencies
- libxslt
- libexslt
Enabling the support
You can enable the xml mapfile support by adding the following option: --with-xml-mapfile. This configure option will enable the libxslt and libexslt check up. If your libxslt/libexslt are not installed in /usr, you'll have to add the following options:
--with-xslt=/path/to/xslt/installation --with-exslt=/path/to/exslt/installation
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.