Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Converting a String to XML - nlapiStringToXML
I've been trying in vain to convert the following string to XML. (Any line breaks are forced - there are none in the text.
<?xml version="1.0" encoding="ISO-8859-1"?><RichDBDS><TrxDetailCheck><TRX_HD_Key>2905568</TRX_HD_Key><Invoice_ID>PA20130227129</Invoice_ID><Date_DT>2/27/2013 10:54:51 PM</Date_DT><Merchant_Key>5151</Merchant_Key><Reseller_Key>80</Reseller_Key><TUser_Name_VC>john3450</TUser_Name_VC><Processor_ID>GETI Processor</Processor_ID><TRX_Settle_Key></TRX_Settle_Key><Tip_Amt_MN></Tip_Amt_MN><Approval_Code_CH>AUTH NUM 869-517</Approval_Code_CH><Auth_Amt_MN>349.99</Auth_Amt_MN><IP_VC>75.241.18.58</IP_VC><Account_Type_CH>MANUAL</Account_Type_CH><Last_Update_DT>2/27/2013 10:55:07 PM</Last_Update_DT><Orig_TRX_HD_Key></Orig_TRX_HD_Key><Result_CH>12</Result_CH><Result_Txt_VC>decline</Result_Txt_VC><Settle_Date_DT>3/14/2013 1:50:54 AM</Settle_Date_DT><Settle_Flag_CH>FALSE</Settle_Flag_CH><Trans_Type_ID>Sale</Trans_Type_ID><Void_Flag_CH>FALSE</Void_Flag_CH><CustomerID></CustomerID><AVS_Resp_CH></AVS_Resp_CH><CV_Resp_CH></CV_Resp_CH><Host_Ref_Num_CH>0</Host_Ref_Num_CH><Zip_CH>77030-3501</Zip_CH><CheckNum_CH>4901</CheckNum_CH><AccountNum_VC>XXXXXXX1148</AccountNum_VC><Total_Amt_MN>349.99</Total_Amt_MN><NameOnCheck_VC></NameOnCheck_VC><TransitNum_VC>111000025</TransitNum_VC></TrxDetailCheck></RichDBDS>