XML
<pre name="code" class="html"><data> <GetApproveCodeListDnForTPromotionMasterSummaryJobResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/tbpm/tpromotion" preserveSpace="no" qAccess="0" qValues=""> <tuple> <old> <getApproveCodeListDnForTPromotionMasterSummaryJob> <getApproveCodeListDnForTPromotionMasterSummaryJob>cn=tbpmadmin,cn=organizational users,o=laiyifen,cn=cordys,cn=defaultInst1,o=laiyifen</getApproveCodeListDnForTPromotionMasterSummaryJob> </getApproveCodeListDnForTPromotionMasterSummaryJob> </old> </tuple> </GetApproveCodeListDnForTPromotionMasterSummaryJobResponse> </data>
JavaScript
<pre name="code" class="javascript"> var approverJobModel=GetApproveCodeListDnForTPromotionMasterSummaryJobModel; var req=approverJobModel.getMethodRequest(); cordys.setNodeText(req, ".//*[local-name()='formID']", formID); approverJobModel.reset(); if(!approverJobModel.soapFaultOccurred) { var data=approverJobModel.getData(); var users=cordys.getNodeText(data, ".//*[local-name()='getApproveCodeListDnForTPromotionMasterSummaryJob']", ""); if(notNull(users)) tag=true; }