[mapguide-users] try to update SDF FeatureSource...mycode don'twork.

Jason Birch Jason.Birch at nanaimo.ca
Mon Mar 5 11:45:21 EST 2007


Interesting.  This is our XML file from an MGOS 1.1.0 installation.  I
wonder whether yours is older, or if your browser messed with the XML...
One important thing to remember is to view source on the returned XML
rather than copying and pasting it from the browser window directly:

<?xml version="1.0" encoding="utf-8"?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
  <Provider>OSGeo.SDF</Provider>
  <Parameter>
    <Name>File</Name>
    <Value>%MG_DATA_FILE_PATH%mowing_data.sdf</Value>
  </Parameter>
  <Parameter>
    <Name>ReadOnly</Name>
    <Value>FALSE</Value>
  </Parameter>
</FeatureSource>

Jaosn

-----Original Message-----
From: Maciej Skorczewski
Subject: Re: [mapguide-users] try to update SDF FeatureSource...mycode
don'twork.

[snip]

ok this is my xml file

<FeatureSource xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
<Provider>OSGeo.SDF.3.0</Provider>
<Parameter>
<Name>File</Name>
<Value>%MG_DATA_FILE_PATH%RoadCenterLines.sdf</Value>
</Parameter>
<Parameter>
<Name>ReadOnly</Name>
<Value>TRUE</Value>
</Parameter>
</FeatureSource>


More information about the mapguide-users mailing list