<?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 Trailing Spaces on XML Nodes using IF_IXML in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trailing-spaces-on-xml-nodes-using-if-ixml/m-p/994354#M74943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created XML using IF_IXML.  According to the schema, several of the elements have trailing spaces in the value for the element.  I set the value with a string. For example,  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  move 'XXXXX  ' to lv_string.&lt;/P&gt;&lt;P&gt;  lv_rc element-&amp;gt;set_value ( lv_string ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the rendering of the document to a string, the trailing spaces are omitted and the XML will not validate.  Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;Buster Hale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2005 13:35:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-05T13:35:19Z</dc:date>
    <item>
      <title>Trailing Spaces on XML Nodes using IF_IXML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trailing-spaces-on-xml-nodes-using-if-ixml/m-p/994354#M74943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created XML using IF_IXML.  According to the schema, several of the elements have trailing spaces in the value for the element.  I set the value with a string. For example,  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  move 'XXXXX  ' to lv_string.&lt;/P&gt;&lt;P&gt;  lv_rc element-&amp;gt;set_value ( lv_string ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the rendering of the document to a string, the trailing spaces are omitted and the XML will not validate.  Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;Buster Hale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2005 13:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trailing-spaces-on-xml-nodes-using-if-ixml/m-p/994354#M74943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-05T13:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trailing Spaces on XML Nodes using IF_IXML</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trailing-spaces-on-xml-nodes-using-if-ixml/m-p/994355#M74944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the answer.  Use ` instead of ' to set value of string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lv_string1 type string value `ABC  `,&lt;/P&gt;&lt;P&gt;      lv_string2 type string value 'ABC  '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The length of lv_string1 is 5 and the length of lv_string2 is 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2005 18:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trailing-spaces-on-xml-nodes-using-if-ixml/m-p/994355#M74944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-05T18:28:34Z</dc:date>
    </item>
  </channel>
</rss>

