Notepad++ xml formatting -- how to format the below xml using notepad ++
-
<?xml version=“1.0” encoding=“UTF-8”?>
<ns0:TransactionData xmlns:ns0=“http://xmlns.egi.com/namespace/eai/tibco/genericServices”><?xml version=“1.0” encoding=“UTF-8”?>
<ns0:GetOffersMethodRequest xmlns:ns0=“http://www.ericsson.com/telecom/CS/CSSchema.xsd”><ns0:commonInput><ns0:freeText/><ns0:originHostName>PORTAL</ns0:originHostName><ns0:originNodeType>ESB</ns0:originNodeType><ns0:originTimeStamp>2016-10-31T16:00:40+03:00</ns0:originTimeStamp><ns0:transactionID>8310303171671960276</ns0:transactionID><ns0:subscriberNumber>831030317167</ns0:subscriberNumber><ns0:flexInput1/><ns0:flexInput2/><ns0:flexInput3/><ns0:flexInput4/><ns0:flexInput5/></ns0:commonInput><ns0:requestAttributesFlag>1</ns0:requestAttributesFlag></ns0:GetOffersMethodRequest></ns0:TransactionData> -
With the XML Tools plugin.
FYI your XML contains two
<?xml ...?>
headers.