title: How to parse a WSDL file to extract the contents of a particular node
body: <p>Here is a part of my wsdl file:</p>
  
  <pre><code>&lt;wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
  - &lt;wsdl:types&gt;
  - &lt;s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"&gt;
  - &lt;s:element name="BinaryConversion"&gt;
  - &lt;s:complexType&gt;
  - &lt;s:sequence&gt;
    &lt;s:element minOccurs="0" maxOccurs="1" name="Binary" type="s:string" /&gt; 
    &lt;/s:sequence&gt;
    &lt;/s:complexType&gt;
    &lt;/s:element&gt;
  - &lt;s:element name="BinaryConversionResponse"&gt;
  - &lt;s:complexType&gt;
  - &lt;s:sequence&gt;
    &lt;s:element minOccurs="0" maxOccurs="1" name="BinaryConversionResult" type="s:string" /&gt; 
    &lt;/s:sequence&gt;
    &lt;/s:complexType&gt;
    &lt;/s:element&gt;
  - &lt;s:element name="Qos"&gt;
  - &lt;s:complexType&gt;
  - &lt;s:sequence&gt;
    &lt;s:element minOccurs="1" maxOccurs="1" name="Availabilty_10" type="s:int" /&gt; 
    &lt;/s:sequence&gt;
    &lt;/s:complexType&gt;
    &lt;/s:element&gt;
  - &lt;s:element name="QosResponse"&gt;
    &lt;s:complexType /&gt; 
    &lt;/s:element&gt;
  - &lt;s:element name="GetQosParameters"&gt;
    &lt;s:complexType /&gt; 
    &lt;/s:element&gt;
  - &lt;s:element name="GetQosParametersResponse"&gt;
  - &lt;s:complexType&gt;
  - &lt;s:sequence&gt;
    &lt;s:element minOccurs="1" maxOccurs="1" name="GetQosParametersResult" type="tns:QoSParameters" /&gt; 
    &lt;/s:sequence&gt;
    &lt;/s:complexType&gt;
    &lt;/s:element&gt;
  - &lt;s:complexType name="QoSParameters"&gt;
  - &lt;s:sequence&gt;
    &lt;s:element minOccurs="0" maxOccurs="1" name="Availability" type="s:string" /&gt; 
    &lt;s:element minOccurs="0" maxOccurs="1" name="Accuracy" type="s:string" /&gt; 
    &lt;s:element minOccurs="0" maxOccurs="1" name="Accessibility" type="s:string" /&gt; 
    &lt;s:element minOccurs="0" maxOccurs="1" name="Latency" type="s:string" /&gt; 
    &lt;s:element minOccurs="0" maxOccurs="1" name="Reliability" type="s:string" /&gt; 
    &lt;/s:sequence&gt;
    &lt;/s:complexType&gt;
    &lt;/s:schema&gt;
    &lt;/wsdl:types&gt;
  </code></pre>
  
  <p>Now I want to extract the names Availability ,Accuracy,Latency etc.How do I do this.
  I used Document Builder to parse but I am only able to extract wsdl:operations and not wsdl:types</p>