I'm trying to validate a xml with soap envelope and body (soap + xml from the web serive response) against a xsd using the API's from the libxml2 for C++ and encounter an error due to the presence of soap envelop. Can anyone suggest how to validate the xml successfully with soap?
Do I have to strip off the soap envelop from the xml before validating it? If so, how do I strip off? or is there any other means that can be used with libxml.