[fdo-users] XML Output and Namespaces
crispin.hoult at 1spatial.com
Thu Sep 2 08:08:07 EDT 2010
When using the XmlFeatureWriter on an object with association/object
properties the sub properties are in a "wfs" namespace. However, this is
not defined in the list of namespaces in the XML so I can't convert the
stream/file into a .net XML object.
So I thought I could use something like the sample below.
However, whenever I add a namespace to the xmlFlags and include this in the
serialiser I get an error when I serialise "Item index out of bounds. "
Am I approaching this in the correct way? I have tried lots of variations
on the theme.
OSGeo.FDO.Common.StringElement strE = new
XmlFeatureSerializer.XmlSerialize(readFeature, xmlFtWriter, xmlFlags);
View this message in context: http://osgeo-org.1803224.n2.nabble.com/XML-Output-and-Namespaces-tp5490860p5490860.html
Sent from the FDO Users mailing list archive at Nabble.com.
More information about the fdo-users