<?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 XML file with Header in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453106#M1999678</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;
  &lt;P&gt;I have to create an XML output file with multiple header lines in ABAP. Below is the detailed requirement. &lt;/P&gt;
  &lt;P&gt;Standard header generated in XSLT transformation is giving this line- &amp;lt;?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?&amp;gt; &lt;/P&gt;
  &lt;P&gt;But I have to add an additional header line like below along with the standard header&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xmlversion="1.0" encoding="utf-8"?&amp;gt;&amp;lt;wm1:PayStubLoad xmlns:wm1="XXXXXXXXXX"
                 wm1:numberRecords="000000182"
                 wm1:fileDateTime="2021-06-04T00:37:12.900Z"
                 wm1:fileToken="XXXXXXXXX"
                 wm1:employerCode="XXXX"
                 xmlns:xsi="XXXXXXX"
                 xsi:schemaLocation="XXXXXXXXXXXXXXXXXX"&amp;gt; 
&amp;lt;PayStub wm1:forgotPINPostalCode="XXXX"
             wm1:employeeDefaultPIN="XXXX"
             wm1:payPeriodEndDate="XXXXX"
             wm1:payPeriodStartDate="XXXXX"
             wm1:payStubAccessibleDate="XXXXX"
             wm1:payDate="XXXXX"
             wm1:adviceNumber="XXXXX"
             wm1:employeeCode="XXXXXX" /&amp;gt;&amp;lt;/wm1:PayStubLoad&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; Could you please help how can we achieve this.&lt;/P&gt;
  &lt;P&gt;Thanks &amp;amp; Regards, &lt;/P&gt;
  &lt;P&gt;Srilekha&lt;/P&gt;</description>
    <pubDate>Wed, 08 Sep 2021 12:33:35 GMT</pubDate>
    <dc:creator>singhtushar</dc:creator>
    <dc:date>2021-09-08T12:33:35Z</dc:date>
    <item>
      <title>XML file with Header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453106#M1999678</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;
  &lt;P&gt;I have to create an XML output file with multiple header lines in ABAP. Below is the detailed requirement. &lt;/P&gt;
  &lt;P&gt;Standard header generated in XSLT transformation is giving this line- &amp;lt;?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?&amp;gt; &lt;/P&gt;
  &lt;P&gt;But I have to add an additional header line like below along with the standard header&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xmlversion="1.0" encoding="utf-8"?&amp;gt;&amp;lt;wm1:PayStubLoad xmlns:wm1="XXXXXXXXXX"
                 wm1:numberRecords="000000182"
                 wm1:fileDateTime="2021-06-04T00:37:12.900Z"
                 wm1:fileToken="XXXXXXXXX"
                 wm1:employerCode="XXXX"
                 xmlns:xsi="XXXXXXX"
                 xsi:schemaLocation="XXXXXXXXXXXXXXXXXX"&amp;gt; 
&amp;lt;PayStub wm1:forgotPINPostalCode="XXXX"
             wm1:employeeDefaultPIN="XXXX"
             wm1:payPeriodEndDate="XXXXX"
             wm1:payPeriodStartDate="XXXXX"
             wm1:payStubAccessibleDate="XXXXX"
             wm1:payDate="XXXXX"
             wm1:adviceNumber="XXXXX"
             wm1:employeeCode="XXXXXX" /&amp;gt;&amp;lt;/wm1:PayStubLoad&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt; Could you please help how can we achieve this.&lt;/P&gt;
  &lt;P&gt;Thanks &amp;amp; Regards, &lt;/P&gt;
  &lt;P&gt;Srilekha&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 12:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453106#M1999678</guid>
      <dc:creator>singhtushar</dc:creator>
      <dc:date>2021-09-08T12:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: XML file with Header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453107#M1999679</link>
      <description>&lt;P&gt;Please edit your question, select your XML code and press the "CODE" button to make it correctly colorized/indented, so that it's easier for us to analyze it. Thank you.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;wm1:PayStubLoad xmlns:wm1="XXXXXXXXXX"
                 wm1:numberRecords="000000182"
                 wm1:fileDateTime="2021-06-04T00:37:12.900Z"
                 wm1:fileToken="XXXXXXXXX"
                 wm1:employerCode="XXXX"
                 xmlns:xsi="XXXXXXX"
                 xsi:schemaLocation="XXXXXXXXXXXXXXXXXX"&amp;gt; 
    &amp;lt;PayStub wm1:forgotPINPostalCode="XXXX"
             wm1:employeeDefaultPIN="XXXX"
             wm1:payPeriodEndDate="XXXXX"
             wm1:payPeriodStartDate="XXXXX"
             wm1:payStubAccessibleDate="XXXXX"
             wm1:payDate="XXXXX"
             wm1:adviceNumber="XXXXX"
             wm1:employeeCode="XXXXXX" /&amp;gt;
&amp;lt;/wm1:PayStubLoad&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453107#M1999679</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-09-08T13:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: XML file with Header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453108#M1999680</link>
      <description>&lt;P&gt;I think you could follow a tutorial to create the simplest XSLT transformation and after that tell us what is your issue, and show your code.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453108#M1999680</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-09-08T13:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: XML file with Header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453109#M1999681</link>
      <description>&lt;P&gt;Thanks Sandra.&lt;/P&gt;&lt;P&gt;I have created an XSLT transformation and was able to achieve the below output.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1973846-img.png" /&gt;&lt;/P&gt;&lt;P&gt;But my question is how to achieve multiple header tags as in below.&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; &lt;STRONG&gt;&amp;lt;wm1:PayStubLoad xmlns:wm1="XXXXXXXXXX" wm1:numberRecords="000000182" wm1:fileDateTime="2021-06-04T00:37:12.900Z" wm1:fileToken="XXXXXXXXX" wm1:employerCode="XXXX" xmlns:xsi="XXXXXXX" xsi:schemaLocation="XXXXXXXXXXXXXXXXXX"&amp;gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is the user expected format from SAP.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srilekha.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-file-with-header/m-p/12453109#M1999681</guid>
      <dc:creator>singhtushar</dc:creator>
      <dc:date>2021-09-08T13:18:41Z</dc:date>
    </item>
  </channel>
</rss>

