J
jsniemi79
Guest
I'm still not getting a value I can use. I've never used the Xpath before. This is what I'm trying to pass: var myXpath = "/TransactionSetupResponse/Response/Transaction/TransactionSetupID"; var transactionSetupID = rbv_api.evalXpath(resp, myXpath); rbv_api.printArr(transactionSetupID); This is my xml response: TransactionSetupResponse xmlns=' https://transaction.elementexpress.com' Response ExpressResponseCode 0 /ExpressResponseCode ExpressResponseMessage Success /ExpressResponseMessage ExpressTransactionDate 20150204 /ExpressTransactionDate ExpressTransactionTime 143852 /ExpressTransactionTime ExpressTransactionTimezone UTC-06:00:00 /ExpressTransactionTimezone Transaction TransactionSetupID C31CFECC-46CC-42B4-BBD6-1BF4D2C3DDBA /TransactionSetupID /Transaction PaymentAccount TransactionSetupID C31CFECC-46CC-42B4-BBD6-1BF4D2C3DDBA /TransactionSetupID /PaymentAccount TransactionSetup TransactionSetupID C31CFECC-46CC-42B4-BBD6-1BF4D2C3DDBA /TransactionSetupID ValidationCode 56453EDFF63746C0 /ValidationCode /TransactionSetup /Response /TransactionSetupResponse This is what is being returned using the rbv_api.evalXpath: com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList@55c66a53
Continue reading...
Continue reading...