title: How to fetch data from any data type BPEL?[xpath/xquery]
body: <p>I am not able to fetch data from XSD: any data type in the BPEL Subscribe to the Event process </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;inputVariable0&gt;
     &lt;taskAssignedMessage xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"&gt;
        &lt;action&gt;INITIATE&lt;/action&gt;
        &lt;task xmlns="http://xmlns.oracle.com/bpel/workflow/task"&gt;
           &lt;title&gt;Self-Register User Request ID-216025&lt;/title&gt;
           &lt;payload&gt;
              &lt;RequestID&gt;999&lt;/RequestID&gt;
              &lt;RequestModel&gt;Self-Register User&lt;/RequestModel&gt;
              &lt;RequestTarget /&gt;
              &lt;RequesterDetails xmlns="http://xmlns.oracle.com/request/RequestDetails"&gt;
                 &lt;ns0:Login xmlns:ns0="http://xmlns.oracle.com/request/RequestDetails" /&gt;
                 &lt;ns0:DisplayName xmlns:ns0="http://xmlns.oracle.com/request/RequestDetails" /&gt;
              &lt;/RequesterDetails&gt;
              &lt;BeneficiaryDetails xmlns="http://xmlns.oracle.com/request/RequestDetails"&gt;
                 &lt;ns0:DisplayName xmlns:ns0="http://xmlns.oracle.com/request/RequestDetails"&gt;None&lt;/ns0:DisplayName&gt;
              &lt;/BeneficiaryDetails&gt;
              &lt;ObjectDetails xmlns="http://xmlns.oracle.com/request/RequestDetails"&gt;
                 &lt;ns0:attributes xmlns:ns0="http://xmlns.oracle.com/request/RequestDetails" /&gt;
              &lt;/ObjectDetails&gt;
              &lt;OtherDetails xmlns="http://xmlns.oracle.com/request/RequestDetails" /&gt;
              &lt;RequesterDisplayName /&gt;
              &lt;BeneficiaryDisplayName&gt;None&lt;/BeneficiaryDisplayName&gt;
              &lt;Requester /&gt;
              &lt;CatalogData xmlns="http://xmlns.oracle.com/RequestServiceApp/RequestDataService/CatalogData" /&gt;
              &lt;RegistrationRequestElement xmlns="http://www.approver-notification.org"&gt;
                 &lt;Approver_UserId&gt;Manager&lt;/Approver_UserId&gt;
                 &lt;Approver_divisionID&gt;DIV310021&lt;/Approver_divisionID&gt;
                 &lt;Approver_isAboveJE&gt;NO&lt;/Approver_isAboveJE&gt;
              &lt;/RegistrationRequestElement&gt;
              &lt;Discoms&gt;ABC&lt;/Discoms&gt;
              &lt;Post&gt;OA_FIRST&lt;/Post&gt;
              &lt;FirstName&gt;Test&lt;/FirstName&gt;
              &lt;LastName&gt;Nikita&lt;/LastName&gt;
              &lt;RequestType&gt;Self-Register User&lt;/RequestType&gt;
           &lt;/payload&gt;
        &lt;/task&gt;
     &lt;/taskAssignedMessage&gt;
  &lt;/inputVariable0&gt;
  </code></pre>
  
  <p>I need to fetch data from RegistrationRequestElement/Approver_UserId. If anyone has any idea about the same, please help me out. 
   @Joe</p>