<?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: Reg CDATA Section in XML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cdata-section-in-xml/m-p/2292238#M500206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is how i handle cdata section in my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: l_document                             type ref to if_ixml_document,
      l_data type ref to if_ixml_element ,
temp_string type string .

 clear temp_string .
concatenate   `&amp;lt;![CDATA[`
`First Line of Text`
`Second line of Text`
`Third Line of Text`
`` into temp_string separated by cl_abap_char_utilities=&amp;gt;newline.

  l_data = l_document-&amp;gt;create_simple_element( parent = l_booklist name = 'DESC' value = temp_string  ).]]&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 May 2007 09:10:08 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2007-05-19T09:10:08Z</dc:date>
    <item>
      <title>Reg CDATA Section in XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cdata-section-in-xml/m-p/2292237#M500205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with using the method &amp;lt;b&amp;gt;CREATE_CDATA_SECTION&amp;lt;/b&amp;gt; of Interface IF_IXML_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an XML file from ABAP using methods in IF_IXML_DOCUMENT etc.&lt;/P&gt;&lt;P&gt;The XML file is perfectly alright. But now there's a need to add CDATA section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the CDATA section as follows in XML file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;Description&amp;gt;&amp;lt;![CDATA[test data]]&amp;gt;&amp;lt;/Description&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can anybody help/advice me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok Parupalli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2007 13:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cdata-section-in-xml/m-p/2292237#M500205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-18T13:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reg CDATA Section in XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cdata-section-in-xml/m-p/2292238#M500206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is how i handle cdata section in my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: l_document                             type ref to if_ixml_document,
      l_data type ref to if_ixml_element ,
temp_string type string .

 clear temp_string .
concatenate   `&amp;lt;![CDATA[`
`First Line of Text`
`Second line of Text`
`Third Line of Text`
`` into temp_string separated by cl_abap_char_utilities=&amp;gt;newline.

  l_data = l_document-&amp;gt;create_simple_element( parent = l_booklist name = 'DESC' value = temp_string  ).]]&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 09:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cdata-section-in-xml/m-p/2292238#M500206</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-05-19T09:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reg CDATA Section in XML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cdata-section-in-xml/m-p/2292239#M500207</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;I have a problem with the 'l_booklist', I declare it as 'l_booklist  TYPE REF TO if_ixml_node' like in the interface but a shortdump comes up. must it be filled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greets&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 09:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cdata-section-in-xml/m-p/2292239#M500207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T09:36:00Z</dc:date>
    </item>
  </channel>
</rss>

