<?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 Remove tag item from xml in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014780#M1166995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iu2019ve created a program  to generate a xml file, using SDIXML_DATA_TO_DOM function. However it seems that is not working correctly because it generates an extra tag, that is called ITEM, whenever there is a table. However, every program example's that use that function, also generates that tag. Is it possible, somehow, remove it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 10:19:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-07T10:19:13Z</dc:date>
    <item>
      <title>Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014780#M1166995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iu2019ve created a program  to generate a xml file, using SDIXML_DATA_TO_DOM function. However it seems that is not working correctly because it generates an extra tag, that is called ITEM, whenever there is a table. However, every program example's that use that function, also generates that tag. Is it possible, somehow, remove it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 10:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014780#M1166995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T10:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014781#M1166996</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;A href="http://www.actionscript.org/forums/showthread.php3?t=164394" target="test_blank"&gt;http://www.actionscript.org/forums/showthread.php3?t=164394&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.daniweb.com/forums/thread84972.html" target="test_blank"&gt;http://www.daniweb.com/forums/thread84972.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 10:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014781#M1166996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T10:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014782#M1166997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Rimpa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, thank you for your interest &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DOCID&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;ITEM&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;TYPE&amp;gt;AR&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;NUMBER&amp;gt;1236544&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/ITEM&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;ITEM&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;TYPE&amp;gt;BI&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;NUMBER&amp;gt;1254666&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/ITEM&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/DOCID&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what I want is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DOCID&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;TYPE&amp;gt;AR&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;NUMBER&amp;gt;1236544&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/DOCID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DOCID&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;TYPE&amp;gt;BI&amp;lt;/TYPE&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;NUMBER&amp;gt;1254666&amp;lt;/NUMBER&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/DOCID&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table DOCID with two fields: TYPE and NUMBER.&lt;/P&gt;&lt;P&gt;How must I define it to present the information as I wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program is totally in ABAP and not in JAVA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 15:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014782#M1166997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T15:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014783#M1166998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rimpa:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Small question...Why did you post ActionScript forums when this is an ABAP forum?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 15:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014783#M1166998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T15:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014784#M1166999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helena:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I don't think it's wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;DOCID&amp;gt;
&amp;lt;ITEM&amp;gt;
&amp;lt;TYPE&amp;gt;AR&amp;lt;/TYPE&amp;gt;
&amp;lt;NUMBER&amp;gt;1236544&amp;lt;/NUMBER&amp;gt;
&amp;lt;/ITEM&amp;gt;
&amp;lt;ITEM&amp;gt;
&amp;lt;TYPE&amp;gt;BI&amp;lt;/TYPE&amp;gt;
&amp;lt;NUMBER&amp;gt;1254666&amp;lt;/NUMBER&amp;gt;
&amp;lt;/ITEM&amp;gt;
&amp;lt;/DOCID&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, &amp;lt;ITEM&amp;gt;&amp;lt;/ITEM&amp;gt; is being used to clearly separate &amp;lt;TYPE&amp;gt; and &amp;lt;NUMBER&amp;gt; by grouping them...&amp;lt;DOCID&amp;gt; is the main parent tag, so you can't have what you want...You should generate separate XML files for each group...Like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;DOCID&amp;gt;
&amp;lt;TYPE&amp;gt;AR&amp;lt;/TYPE&amp;gt;
&amp;lt;NUMBER&amp;gt;1236544&amp;lt;/NUMBER&amp;gt;
&amp;lt;/DOCID&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;DOCID&amp;gt;
&amp;lt;TYPE&amp;gt;BI&amp;lt;/TYPE&amp;gt;
&amp;lt;NUMBER&amp;gt;1254666&amp;lt;/NUMBER&amp;gt;
&amp;lt;/DOCID&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 15:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014784#M1166999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T15:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014785#M1167000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand your point of view, but this xml file is not for our internal use, is to be send out to another enterprise, that does not want that tag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, we've already found a solution for our problem: instead of using the SDIXML_DATA_TO_DOM function, we use a xslt transformation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the next link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.heidoc.net/joomla/content/view/15/31/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your interest,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 17:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014785#M1167000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T17:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014786#M1167001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your interest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not a problem -:) I'm glad you find a solution...BTW...Welcome to SCN! -;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 17:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014786#M1167001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T17:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014787#M1167002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost forgot...Please don't forget to mark your question as answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 17:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014787#M1167002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T17:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014788#M1167003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem. Iu2019ve tried to access to the link but itu2019s not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain me how you can solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rosa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 10:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014788#M1167003</guid>
      <dc:creator>former_member249495</dc:creator>
      <dc:date>2010-03-30T10:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014789#M1167004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link has moved here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.heidoc.net/joomla/en/technology-science/sap-and-xslt/5-tutorial-data-exchange-between-abap-and-xml" target="test_blank"&gt;http://www.heidoc.net/joomla/en/technology-science/sap-and-xslt/5-tutorial-data-exchange-between-abap-and-xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 08:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014789#M1167004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-15T08:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Remove tag item from xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014790#M1167005</link>
      <description>&lt;P&gt;Here is another solution,&lt;/P&gt;&lt;P&gt;Hex value for string &amp;lt;item&amp;gt; is '3C6974656D3E'&lt;/P&gt;&lt;P&gt;and for string &amp;lt;/item&amp;gt; is '3C2F6974656D3E'&lt;/P&gt;&lt;P&gt;with trailing new line hex value is '0A'.&lt;/P&gt;&lt;P&gt;Some changes in this loop&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_xml INTO xml_tab-d.
REPLACE ALL OCCURRENCES OF '3C6974656D3E0A' IN xml_tab-d WITH ' '.
REPLACE ALL OCCURRENCES OF '3C2F6974656D3E0A' IN xml_tab-d WITH ' '.
APPEND xml_tab.
ENDLOOP.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sitesh Sawant.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 07:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-tag-item-from-xml/m-p/5014790#M1167005</guid>
      <dc:creator>abap11</dc:creator>
      <dc:date>2023-05-18T07:07:03Z</dc:date>
    </item>
  </channel>
</rss>

