<?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 Simplest way to remove an xml element and children, from input an XML doc/string (dont want to build schema Map, just simple xpath remove) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Simplest-way-to-remove-an-xml-element-and-children-from-input-an/m-p/2250605#M34799</link>
    <description>&lt;P&gt;I want something lightweight.&lt;BR /&gt;I don't want to have to go to the trouble of building a giant schema. (the xml is acord; beast).&lt;BR /&gt;&lt;BR /&gt;I just want something simple like&amp;nbsp;how a&amp;nbsp;tExtractXml can xpath to a location in a doc; and get the value; but in my case; I want to remove all elements in the xml of node name &amp;lt;Attachment/&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;Is there a simple; quick way in talend; to find all &amp;lt;Attachment/&amp;gt; elements and remove them; without having to define the entire mammoth acord xml schema?&lt;BR /&gt;&lt;BR /&gt;Don't want to build tHMap Structures, tXMLMap, tAdvancedFileOutputXML; etc...dont want to build schemas to do this.&lt;BR /&gt;&lt;BR /&gt;Just blindly xpath to find and remove &amp;lt;Attachment/&amp;gt; element node (and childnodes).&lt;BR /&gt;&lt;BR /&gt;I am thinking I will have to do this in tJavaRow; but wanted to make sure there isn't a talend component that can do this natively that I am missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Aug 2018 18:47:20 GMT</pubDate>
    <dc:creator>DaveTaylor</dc:creator>
    <dc:date>2018-08-30T18:47:20Z</dc:date>
    <item>
      <title>Simplest way to remove an xml element and children, from input an XML doc/string (dont want to build schema Map, just simple xpath remove)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simplest-way-to-remove-an-xml-element-and-children-from-input-an/m-p/2250605#M34799</link>
      <description>&lt;P&gt;I want something lightweight.&lt;BR /&gt;I don't want to have to go to the trouble of building a giant schema. (the xml is acord; beast).&lt;BR /&gt;&lt;BR /&gt;I just want something simple like&amp;nbsp;how a&amp;nbsp;tExtractXml can xpath to a location in a doc; and get the value; but in my case; I want to remove all elements in the xml of node name &amp;lt;Attachment/&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;Is there a simple; quick way in talend; to find all &amp;lt;Attachment/&amp;gt; elements and remove them; without having to define the entire mammoth acord xml schema?&lt;BR /&gt;&lt;BR /&gt;Don't want to build tHMap Structures, tXMLMap, tAdvancedFileOutputXML; etc...dont want to build schemas to do this.&lt;BR /&gt;&lt;BR /&gt;Just blindly xpath to find and remove &amp;lt;Attachment/&amp;gt; element node (and childnodes).&lt;BR /&gt;&lt;BR /&gt;I am thinking I will have to do this in tJavaRow; but wanted to make sure there isn't a talend component that can do this natively that I am missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 18:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simplest-way-to-remove-an-xml-element-and-children-from-input-an/m-p/2250605#M34799</guid>
      <dc:creator>DaveTaylor</dc:creator>
      <dc:date>2018-08-30T18:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simplest way to remove an xml element and children, from input an XML doc/string (dont want to build schema Map, just simple xpath remove)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simplest-way-to-remove-an-xml-element-and-children-from-input-an/m-p/2250606#M34800</link>
      <description>&lt;P&gt;for this huge xml there's a nice import way... use tXMLMap and check&amp;nbsp;the screenshot. (ignore the step2 its from a different example)&lt;/P&gt; 
&lt;P&gt;in your output define a Document and do the same and remove the specific attacment element.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="setLoop.jpg" style="width: 528px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzgH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141542iF3FE05C61AB233E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzgH.jpg" alt="0683p000009LzgH.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 21:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simplest-way-to-remove-an-xml-element-and-children-from-input-an/m-p/2250606#M34800</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-30T21:54:02Z</dc:date>
    </item>
  </channel>
</rss>

