<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Output XML formatting in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Output-XML-formatting/m-p/508336#M9084</link>
    <description>&lt;P&gt;Hello everyone I am very new to splunk.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an app in splunk in which there's a Dashboard which fetches me an XML whenever I enter the order number, now the result I am getting is fine, but the the output XML is not in proper format. it comes in asingle line, is there a way to manipulate my result in a proper format?&lt;/P&gt;&lt;P&gt;for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want it like&amp;nbsp;&lt;/P&gt;&lt;P&gt;orderStatusReply xmlns="blabla.blabla" transactionId="blabla" timestamp="2020-07-09T15:49:36.649Z"&amp;gt;&lt;BR /&gt;&amp;lt;result&amp;gt;&lt;BR /&gt;&amp;lt;resultType&amp;gt;success&amp;lt;/resultType&amp;gt;&lt;BR /&gt;&amp;lt;/result&amp;gt;&lt;BR /&gt;&amp;lt;orderStatus type="history"&amp;gt;&lt;BR /&gt;&amp;lt;customer mailConfirmationRequired="false"&amp;gt;&lt;BR /&gt;&amp;lt;customerNumber&amp;gt;blabla blabla&amp;lt;/customerNumber&amp;gt;&lt;BR /&gt;&amp;lt;customerName&amp;gt;blabla&amp;lt;/customerName&amp;gt;&lt;BR /&gt;&amp;lt;printReceipt&amp;gt;blabla&amp;lt;/printReceipt&amp;gt;&lt;BR /&gt;&amp;lt;/customer&amp;gt;&lt;BR /&gt;&amp;lt;centerNumber&amp;gt;blabla&amp;lt;/centerNumber&amp;gt;&lt;BR /&gt;&amp;lt;containsItemPaymentAdjustment&amp;gt;false&amp;lt;/containsItemPaymentAdjustment&amp;gt;&lt;BR /&gt;&amp;lt;orderNumber&amp;gt;1111111111111111&amp;lt;/orderNumber&amp;gt;&lt;BR /&gt;&amp;lt;referenceNumber&amp;gt;11111111111111111111&amp;lt;/referenceNumber&amp;gt; ..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;but it comes like&amp;nbsp;&lt;/P&gt;&lt;P&gt;orderStatusReply xmlns="blabla.blabla" transactionId="blabla" timestamp="2020-07-09T15:49:36.649Z"&amp;gt;&amp;lt;result&amp;gt;&amp;lt;resultType&amp;gt;success&amp;lt;/resultType&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;orderStatus type="history"&amp;gt;&amp;lt;customer mailConfirmationRequired="false"&amp;gt;&amp;lt;customerNumber&amp;gt;blabla blabla&amp;lt;/customerNumber&amp;gt;&amp;lt;customerName&amp;gt;blabla&amp;lt;/customerName&amp;gt;&amp;lt;printReceipt&amp;gt;blabla&amp;lt;/printReceipt&amp;gt;&lt;BR /&gt;&amp;lt;/customer&amp;gt;&amp;lt;centerNumber&amp;gt;blabla&amp;lt;/centerNumber&amp;gt;&amp;lt;containsItemPaymentAdjustment&amp;gt;false&amp;lt;/containsItemPaymentAdjustment&amp;lt;orderNumber&amp;gt;1111111111111111&amp;lt;/orderNumber&amp;gt;&amp;lt;referenceNumber&amp;gt;11111111111111111111&amp;lt;/referenceNumber&amp;gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2020 16:01:54 GMT</pubDate>
    <dc:creator>A_bhijeet</dc:creator>
    <dc:date>2020-07-09T16:01:54Z</dc:date>
    <item>
      <title>Output XML formatting</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Output-XML-formatting/m-p/508336#M9084</link>
      <description>&lt;P&gt;Hello everyone I am very new to splunk.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an app in splunk in which there's a Dashboard which fetches me an XML whenever I enter the order number, now the result I am getting is fine, but the the output XML is not in proper format. it comes in asingle line, is there a way to manipulate my result in a proper format?&lt;/P&gt;&lt;P&gt;for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want it like&amp;nbsp;&lt;/P&gt;&lt;P&gt;orderStatusReply xmlns="blabla.blabla" transactionId="blabla" timestamp="2020-07-09T15:49:36.649Z"&amp;gt;&lt;BR /&gt;&amp;lt;result&amp;gt;&lt;BR /&gt;&amp;lt;resultType&amp;gt;success&amp;lt;/resultType&amp;gt;&lt;BR /&gt;&amp;lt;/result&amp;gt;&lt;BR /&gt;&amp;lt;orderStatus type="history"&amp;gt;&lt;BR /&gt;&amp;lt;customer mailConfirmationRequired="false"&amp;gt;&lt;BR /&gt;&amp;lt;customerNumber&amp;gt;blabla blabla&amp;lt;/customerNumber&amp;gt;&lt;BR /&gt;&amp;lt;customerName&amp;gt;blabla&amp;lt;/customerName&amp;gt;&lt;BR /&gt;&amp;lt;printReceipt&amp;gt;blabla&amp;lt;/printReceipt&amp;gt;&lt;BR /&gt;&amp;lt;/customer&amp;gt;&lt;BR /&gt;&amp;lt;centerNumber&amp;gt;blabla&amp;lt;/centerNumber&amp;gt;&lt;BR /&gt;&amp;lt;containsItemPaymentAdjustment&amp;gt;false&amp;lt;/containsItemPaymentAdjustment&amp;gt;&lt;BR /&gt;&amp;lt;orderNumber&amp;gt;1111111111111111&amp;lt;/orderNumber&amp;gt;&lt;BR /&gt;&amp;lt;referenceNumber&amp;gt;11111111111111111111&amp;lt;/referenceNumber&amp;gt; ..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;but it comes like&amp;nbsp;&lt;/P&gt;&lt;P&gt;orderStatusReply xmlns="blabla.blabla" transactionId="blabla" timestamp="2020-07-09T15:49:36.649Z"&amp;gt;&amp;lt;result&amp;gt;&amp;lt;resultType&amp;gt;success&amp;lt;/resultType&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;orderStatus type="history"&amp;gt;&amp;lt;customer mailConfirmationRequired="false"&amp;gt;&amp;lt;customerNumber&amp;gt;blabla blabla&amp;lt;/customerNumber&amp;gt;&amp;lt;customerName&amp;gt;blabla&amp;lt;/customerName&amp;gt;&amp;lt;printReceipt&amp;gt;blabla&amp;lt;/printReceipt&amp;gt;&lt;BR /&gt;&amp;lt;/customer&amp;gt;&amp;lt;centerNumber&amp;gt;blabla&amp;lt;/centerNumber&amp;gt;&amp;lt;containsItemPaymentAdjustment&amp;gt;false&amp;lt;/containsItemPaymentAdjustment&amp;lt;orderNumber&amp;gt;1111111111111111&amp;lt;/orderNumber&amp;gt;&amp;lt;referenceNumber&amp;gt;11111111111111111111&amp;lt;/referenceNumber&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 16:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Output-XML-formatting/m-p/508336#M9084</guid>
      <dc:creator>A_bhijeet</dc:creator>
      <dc:date>2020-07-09T16:01:54Z</dc:date>
    </item>
  </channel>
</rss>

