title: Correct Xpath -
body: <p>I have a xml like - </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;oslc_cm:Collection xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/" 
                      oslc_cm:totalCount="7" 
                      xmlns:dc="http://purl.org/dc/terms/" 
                      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                      xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"&gt;
    &lt;rtc_cm:Action rdf:resource="https://rtc.gsissc.myatos.net:9443/ccm/oslc/workflows/_ezLt4PJ7EeGRg6GNKwqw9g/actions/com.ibm.team.workitem.defectWorkflow/com.ibm.team.workitem.defectWorkflow.action.resolve"&gt;
      &lt;dc:identifier&gt;com.ibm.team.workitem.defectWorkflow.action.resolve&lt;/dc:identifier&gt;
      &lt;rtc_cm:resultState rdf:resource="https://rtc.gsissc.myatos.net:9443/ccm/oslc/workflows/_ezLt4PJ7EeGRg6GNKwqw9g/states/com.ibm.team.workitem.defectWorkflow/3"/&gt;
      &lt;dc:title&gt;Resolve&lt;/dc:title&gt;
      &lt;rtc_cm:iconUrl&gt;https://rtc.gsissc.myatos.net:9443/ccm/service/com.ibm.team.workitem.common.internal.model.IImageContentService/processattachment/_ezLt4PJ7EeGRg6GNKwqw9g/workflow/resolve.gif&lt;/rtc_cm:iconUrl&gt;
    &lt;/rtc_cm:Action&gt;
  </code></pre>
  
  <p>From it I have to fetch <code>rtc_cm:resultState rdf:resource</code>. </p>
  
  <p>What would be the correct XPath for it. I am using <code>XPathExpression xPathExpressionDescription = xpath.compile("../rtc_cm:resultState/@rdf:resource");</code> which is giving me null pointer.</p>
  
  <p>Please guide me .</p>