Mis3
3 years agoFrequent Contributor
How do I convert a API to proper XML formats
I have a few APIs like below.
Is there any quick way to reformat it to proper XML format?
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><PORT_REQUEST_ACK><HEADER><ORIGINATOR>SMG</ORIGINATOR><DESTINATION>SMARTD</DESTINATION><MESSAGE_ID>176886</MESSAGE_ID><MSGTYPE>PQA</MSGTYPE><TIMESTAMP>05232022085432</TIMESTAMP></HEADER><REQ_NO>XP01022143859690</REQ_NO><VER_ID_REQ>02</VER_ID_REQ><NLSP>XP01</NLSP><NNSP>XP01</NNSP><ONSP>XP02</ONSP><NRSELLNM></NRSELLNM><D_TSENT>052320220854</D_TSENT></PORT_REQUEST_ACK>