To start off with:
Coding in C++
Using the QT Creator
Reading from WFS Version 1.1.0
Using Gdal/OGR compiled with Xerces
I'm trying to get all of the Capabilities from a WFS. I know how to do this via a Get Request, now I'm wondering how to do this via code (C++). So far I have worked out how to get the Feature Name and Feature Element ( Countries - String , CountriesFID - INT) etc... Now through code I want to be able to get the creator of the WFS, its version, Spatial references. And well basically everything from the getRequest(GetCapabilities) into object form for use in my program.
I'm currently using the Gdal "Hidden" layer called "WFSGetCapabilities" which just returns the whole XML/GML document string form (not a list!) I would rather not have to QSplitString, I want my program to by dynamic and work out what's in any WFS and not just hard coded for one.