ThinkGeo.com    |     Documentation    |     Premium Support

V10 - Server Capabilities XML Fields

MapSuite Team,

Are there any MapSuite api’s to parse and extract the individual fields within the GetCapabilities XML string?

Or can you offer some sample code on how to extract the various fields from XML?

Thanks,
Dennis

Hi Dennis,

We don’t have a sample or related API to read the parsed XML return from GetCapabilities.

The capability file is just a standard XML, you can parse it and get information you want by the Xpath or use the .net class for example:
XmlDocument
XmlTextReader
Linq to Xml

Wish that’s helpful.

Regards,

Ethan

Yes, it is helpful Ethan.

Hi Dennis,

I am glad to hear that’s helpful.

Regards,

Ethan