private void ParseCapability(XmlNode xnCapability)
{
XmlNode xnRequest = xnCapability.SelectSingleNode("sm:Request", nsmgr);
if (xnRequest == null)
throw (new System.Exception("Request parameter not specified in Service Description"));
ParseRequest(xnRequest);
XmlNode xnLayer = xnCapability.SelectSingleNode("sm:Layer", nsmgr);
if (xnLayer == null)
throw (new System.Exception("No layer tag found in Service Description"));
_Layer = ParseLayer(xnLayer);
XmlNode xnException = xnCapability.SelectSingleNode("sm:Exception", nsmgr);
if (xnException != null)
ParseExceptions(xnException);
}