title: Java. XML. how to validate certain part of xml document against XSD Schema?
body: <p>I have a SOAP response from a web-service in String and <code>Document</code> formats, and I have a method that validates it. The problem is that I have to validate Node <code>&lt;Result&gt;</code>.</p>
  
  <p>I have already got this node, but do not know how to get child nodes with tags and etc.</p>
  
  <pre><code>Node result = (Node)xPath.compile("//Result").evaluate(xmlDocument, XPathConstants.NODE);
  
          &lt;Result&gt;
          &lt;playerID&gt;some id&lt;/playerID&gt;
          &lt;partnerUID&gt;some partner uid&lt;/partnerUID&gt;
          &lt;registrationLevel&gt;some registration level&lt;/registrationLevel&gt;
          &lt;properties&gt;
             &lt;property&gt;
                &lt;key&gt;some key&lt;/key&gt;
                &lt;value&gt;some value&lt;/value&gt;
             &lt;/property&gt;
             &lt;property&gt;...&lt;/property&gt;
          &lt;/Result&gt;
  </code></pre>
  
  <p>Thanks for help</p>