<?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 Re: Creat xml in application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413215#M1408245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SIMO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;CALL TRANSFORMATION&lt;/STRONG&gt; concept for the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : CALL TRANSFORMATION is only available in ECC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample code snippet :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZUS_SDN_XML_XSTRING_APPLSERVER.
 
DATA:
  gd_dsn            type string,
  gd_xstring        type xstring,
  gt_kna1           type STANDARD TABLE OF kna1.
 
start-of-selection.
 
  select * from kna1 into table gt_kna1 up to 10 rows.
 
  BREAK-POINT.
 
  call TRANSFORMATION id
    source itab = gt_kna1
    result xml = gd_xstring.
 
    gd_dsn = '/tmp/xml_as_xstring.file'.
 
    open DATASET gd_dsn for OUTPUT in BINARY MODE.
    check ( syst-subrc = 0 ).
 
    TRANSFER gd_xstring to gd_dsn.
 
    CLOSE DATASET gd_dsn.
 
end-of-SELECTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2009 12:03:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-03T12:03:32Z</dc:date>
    <item>
      <title>Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413214#M1408244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the FM for creating XML file in application server.&lt;/P&gt;&lt;P&gt;Like CL_GUI_FRONTEND_SERVICES=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 11:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413214#M1408244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T11:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413215#M1408245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SIMO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;CALL TRANSFORMATION&lt;/STRONG&gt; concept for the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : CALL TRANSFORMATION is only available in ECC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample code snippet :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZUS_SDN_XML_XSTRING_APPLSERVER.
 
DATA:
  gd_dsn            type string,
  gd_xstring        type xstring,
  gt_kna1           type STANDARD TABLE OF kna1.
 
start-of-selection.
 
  select * from kna1 into table gt_kna1 up to 10 rows.
 
  BREAK-POINT.
 
  call TRANSFORMATION id
    source itab = gt_kna1
    result xml = gd_xstring.
 
    gd_dsn = '/tmp/xml_as_xstring.file'.
 
    open DATASET gd_dsn for OUTPUT in BINARY MODE.
    check ( syst-subrc = 0 ).
 
    TRANSFER gd_xstring to gd_dsn.
 
    CLOSE DATASET gd_dsn.
 
end-of-SELECTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 12:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413215#M1408245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T12:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413216#M1408246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no FM .&lt;/P&gt;&lt;P&gt;U have to use Open Dataset and create a .XML file for the same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 12:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413216#M1408246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T12:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413217#M1408247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read my code carefully, I am not using any Function Module, It is &lt;STRONG&gt;CALL TRANSFORMATION&lt;/STRONG&gt;  its not a function module, its exclusively used to create an excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 12:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413217#M1408247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T12:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413218#M1408248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , agreed ..&lt;/P&gt;&lt;P&gt;But the requirement here is to create an XML and not an Excel ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 12:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413218#M1408248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T12:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413219#M1408249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think my code is for creating an Excel??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly read my post carefully, it is for creating an XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 12:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413219#M1408249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T12:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413220#M1408250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think we are here to find out a solution and not to point out anyones errors .&lt;/P&gt;&lt;P&gt;Anyways , Call trans works only in ECC ...&lt;/P&gt;&lt;P&gt;So , Open Dataset is a much better option incase the solution needs to be put up in lower versions ...&lt;/P&gt;&lt;P&gt;n Open Dataset works for sure as i have used it N number of times .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 12:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413220#M1408250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T12:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413221#M1408251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not finding any error. I am just replying to what has been pointed towards my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wrote  "Yes , agreed ...But the requirement here is to create an XML and not an Excel ...."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had clearly written that it is for creating for an XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I had written that this works in only ECC versions. If you look at my code DATASET concept is also used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However SIMO if you are working on a version other than ECC like 4.7 then , SIMO please refer below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT z_down_xml LINE-SIZE 132 NO STANDARD PAGE HEADING.
**********************************************************************
* REPORT Z_DOWN_XML - Using an internal table (gt_marc)
* * and downloading the report data as an xml file
* * the xml indentation is hard coded into the file *
********************************************************************** *
* databases
TABLES: makt, "Mat description
        marc, "Material / plant
       t001w, "plant name
       bhdgd. "Batch heading

* Internal tables
DATA: BEGIN OF gt_marc OCCURS 0,
werks LIKE marc-werks,
matnr LIKE marc-matnr,
END OF gt_marc,

* Table to be downloaded as xml. Each line stores start and end tags
* and the value

BEGIN OF gt_xml OCCURS 0,
line(120),
END OF gt_xml,
g_maktx(120).

* User-input
SELECT-OPTIONS: s_werks FOR marc-werks, s_matnr FOR marc-matnr.

**********************************************************************
START-OF-SELECTION.
* extract all required data

perform main_processing.
**********************************************************************
END-OF-SELECTION.

  SORT gt_marc BY werks matnr.

  LOOP AT gt_marc.

    AT FIRST. "First tag must be root
      CLEAR gt_xml.
      gt_xml-line = ''.
      APPEND gt_xml.
      CLEAR gt_xml.
    ENDAT.

    AT NEW werks. "At new plant
      PERFORM read_plant.
      FORMAT COLOR 4 ON.
      SKIP 1.
      WRITE :/ gt_marc-werks,
      t001w-name1.
      FORMAT COLOR 4 OFF.
      CLEAR gt_xml.
      gt_xml-line = ' '.
      APPEND gt_xml.
      CLEAR gt_xml.
      CONCATENATE ' ' gt_marc-werks '' INTO gt_xml-line.
      APPEND gt_xml.
      CLEAR gt_xml.
      CONCATENATE ' ' t001w-name1 '' INTO gt_xml-line.
      APPEND gt_xml.
      CLEAR gt_xml.
      gt_xml-line = ' '.
      APPEND gt_xml.
      CLEAR gt_xml.
    ENDAT.

    PERFORM read_description.
    CLEAR gt_xml.
    gt_xml-line = ' '.
    APPEND gt_xml.
    CLEAR gt_xml.
    CONCATENATE ' ' g_maktx '' INTO gt_xml-line.
    APPEND gt_xml.
    CLEAR gt_xml.
    CONCATENATE ' ' gt_marc-matnr '' INTO gt_xml-line.
    APPEND gt_xml.
    CLEAR gt_xml.
    gt_xml-line = ' '.
    APPEND gt_xml.
    CLEAR gt_xml.
* display data
    FORMAT COLOR 2 ON.
    WRITE :/ gt_marc-matnr,
    makt-maktx.
    FORMAT COLOR 2 OFF.
  ENDLOOP.

* The last tag must be the root closing tag --*
  gt_xml-line = ''.
  APPEND gt_xml.
  CLEAR gt_xml.

  CALL FUNCTION 'DOWNLOAD'
       EXPORTING
            filename = 'C:PLANT1.XML'
            filetype = 'ASC'
       TABLES
            data_tab = gt_xml.

**********************************************************************
      top-of-page.
  MOVE sy-title TO bhdgd-line1.
  MOVE sy-repid TO bhdgd-repid.
  MOVE sy-uname TO bhdgd-uname.
  MOVE sy-datum TO bhdgd-datum.
  MOVE '0' TO bhdgd-inifl.
  MOVE '132' TO bhdgd-lines.
  FORMAT INTENSIFIED ON COLOR COL_HEADING.
  PERFORM batch-heading(rsbtchh0). "report header
*---------------------------------------------------------------------*
* Form READ_PLANT
*---------------------------------------------------------------------*
FORM read_plant.
* Get plant name
  CLEAR t001w.
  SELECT SINGLE name1 INTO t001w-name1 FROM t001w WHERE werks EQ
  gt_marc-werks.
ENDFORM. " READ_PLANT
*---------------------------------------------------------------------*
* Form MAIN_PROCESSING
*---------------------------------------------------------------------*
FORM main_processing.
* Material and plant basic data
 SELECT werks matnr INTO TABLE gt_marc FROM marc WHERE werks IN s_werks
    AND matnr IN s_matnr.
ENDFORM. " MAIN_PROCESSING
*---------------------------------------------------------------------*
* Form READ_DESCRIPTION
*---------------------------------------------------------------------*
FORM read_description.
* Material name
  CLEAR g_maktx.
SELECT SINGLE maktx INTO g_maktx FROM makt WHERE matnr EQ gt_marc-matnr
      AND spras EQ 'E'.
* Replace special character
  DO.
    REPLACE '&amp;amp;' WITH '*ù%;' INTO g_maktx.
    IF NOT sy-subrc IS INITIAL.
      EXIT.
    ENDIF.
  ENDDO.

  DO.
    REPLACE '*ù%;' WITH '&amp;amp;' INTO g_maktx.
    IF NOT sy-subrc IS INITIAL.
      EXIT.
    ENDIF.
  ENDDO.
  DO.
    REPLACE '/' WITH '/' INTO g_maktx.
    IF NOT sy-subrc IS INITIAL.
      EXIT.
    ENDIF.
  ENDDO.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 12:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413221#M1408251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T12:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413222#M1408252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Abhil says is 100% right.&lt;/P&gt;&lt;P&gt;To get the XML file we have to use conept of Transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 13:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413222#M1408252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T13:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413223#M1408253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Thanks for all your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do to add this tag in my XML file: create( ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Creation the dom object model&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      l_document = l_ixml-&amp;gt;create_document( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Création des noeuds et des valeurs&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      l_element_fichier  = l_document-&amp;gt;create_simple_element(&lt;/P&gt;&lt;P&gt;                  name = 'fichier_des'&lt;/P&gt;&lt;P&gt;                  parent = l_document ).&lt;/P&gt;&lt;P&gt;.......................&lt;/P&gt;&lt;P&gt;.....................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 10:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413223#M1408253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-04T10:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413224#M1408254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;use code like this:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Make the XML envelope compliant with identity transform&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;REPLACE '&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;data&amp;gt;'&lt;/P&gt;&lt;P&gt;IN lv_xml_data_string&lt;/P&gt;&lt;P&gt;WITH '&amp;lt;?xml version="1.0" encoding="iso-8859-1"?&amp;gt;&amp;lt;asx:abap xmlns&lt;/P&gt;&lt;P&gt;:asx="http://www.sap.com/abapxml" version="1.0"&amp;gt;&amp;lt;asx:values&amp;gt;'.&lt;/P&gt;&lt;P&gt;REPLACE '&amp;lt;/data&amp;gt;'&lt;/P&gt;&lt;P&gt;IN lv_xml_data_string&lt;/P&gt;&lt;P&gt;WITH '&amp;lt;/asx:values&amp;gt;&amp;lt;/asx:abap&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 12:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413224#M1408254</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2009-12-04T12:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creat xml in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413225#M1408255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;??? &lt;/P&gt;&lt;P&gt;I don't understand your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i generat the xml file, the first tag is &amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;i want replace it by &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 13:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creat-xml-in-application-server/m-p/6413225#M1408255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-04T13:33:20Z</dc:date>
    </item>
  </channel>
</rss>

