artemp/trac2github — Issue #148: Allow ability to read datasource paths relative to the xml during load_map()
Author: artemp
Created: 2011-10-09 20:16:21+00:00
State: open
Labels: XML

The attached patch provides two options for turning this behavior on:

Setting in XML:
{{{
true
}}}

An argument (4th) in the load_map():

{{{
load_map(m,'mapfile.xml',false,true) # third arg is 'strict' xml parsing boolean, fourth arg would be 'relative_to_xml' boolean
}}}