<?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: [resolved] tXmlMap Find node based on attribute value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXmlMap-Find-node-based-on-attribute-value/m-p/2221954#M15747</link>
    <description>The tExtractXMLField worked perfectly.
&lt;BR /&gt;I wish you could do this within the tXMLMap component because I have some additional functions and cleanup I need to run once I extract the XML fields. &amp;nbsp;Would have been nice to just do that on the right side of the tXMLMap. &amp;nbsp;But I'll just pass this into another Map or JavaRow and make it work there.
&lt;BR /&gt;Thanks for your help. &amp;nbsp;Much appreciated.</description>
    <pubDate>Mon, 29 Feb 2016 20:58:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-29T20:58:22Z</dc:date>
    <item>
      <title>[resolved] tXmlMap Find node based on attribute value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXmlMap-Find-node-based-on-attribute-value/m-p/2221952#M15745</link>
      <description>&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;I'm not very familiar with XML. &amp;nbsp;I've been using tXmlMap to parse a response coming from a tRestClient into a database.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;There is an array within the xml that contains multiple values I need to include. &amp;nbsp;Everything else maps across just fine, no problem.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;We have a couple custom fields that the attribute "name" determines what the custom field is. &amp;nbsp;I need to be able to extract both the "job number" and "customer name" into a CSV output. &amp;nbsp;I don't think this is a loop since i need both custom_fields.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;How do I structure the document so I can pull out both? &amp;nbsp;Should I be using a different component than a tXmlMap?&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;XML Structure&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;&amp;lt;issue&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;&amp;lt;id&amp;gt;7774&amp;lt;/id&amp;gt;&lt;BR /&gt;&amp;lt;project&amp;nbsp;id="106"&amp;nbsp;name="Data Management"/&amp;gt;&lt;BR /&gt;&amp;lt;tracker&amp;nbsp;id="1"&amp;nbsp;name="Bug"/&amp;gt;&lt;BR /&gt;&amp;lt;status&amp;nbsp;id="7"&amp;nbsp;name="Backlog"/&amp;gt;&lt;BR /&gt;&amp;lt;priority&amp;nbsp;id="2"&amp;nbsp;name="Normal"/&amp;gt;&lt;BR /&gt;&amp;lt;author&amp;nbsp;id="60"&amp;nbsp;name="Steven Baer"/&amp;gt;&lt;BR /&gt;&amp;lt;parent&amp;nbsp;id="7773"/&amp;gt;&lt;BR /&gt;&amp;lt;subject&amp;gt;Subtask1&amp;lt;/subject&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;start_date&amp;gt;2016-02-27&amp;lt;/start_date&amp;gt;&lt;BR /&gt;&amp;lt;due_date/&amp;gt;&lt;BR /&gt;&amp;lt;done_ratio&amp;gt;0&amp;lt;/done_ratio&amp;gt;&lt;BR /&gt;&amp;lt;is_private&amp;gt;false&amp;lt;/is_private&amp;gt;&lt;BR /&gt;&amp;lt;estimated_hours/&amp;gt;&lt;BR /&gt;&amp;lt;custom_fields&amp;nbsp;type="array"&amp;gt;&lt;BR /&gt;&amp;lt;custom_field&amp;nbsp;id="1"&amp;nbsp;name="Job Number"&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;25735&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/custom_field&amp;gt;&lt;BR /&gt;&amp;lt;custom_field&amp;nbsp;id="2"&amp;nbsp;name="Company Name"&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;Test Company 1&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/custom_field&amp;gt;&lt;BR /&gt;&amp;lt;/custom_fields&amp;gt;&lt;BR /&gt;&amp;lt;created_on&amp;gt;2016-02-27T10:13:45Z&amp;lt;/created_on&amp;gt;&lt;BR /&gt;&amp;lt;updated_on&amp;gt;2016-02-27T10:13:45Z&amp;lt;/updated_on&amp;gt;&lt;BR /&gt;&amp;lt;closed_on/&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;&amp;lt;/issue&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;Trying to output to:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;Id, CompanyName, ProjectName, ProjectId, JobNumber, Subject, Description, AuthorId, AuthorName, etc.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="monospace"&gt;7774, Test Company 1, Data Management, 106, 25735, Subtask1, , 60, Steven Baer&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXmlMap-Find-node-based-on-attribute-value/m-p/2221952#M15745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXmlMap Find node based on attribute value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXmlMap-Find-node-based-on-attribute-value/m-p/2221953#M15746</link>
      <description>Hello sbaer, 
&lt;BR /&gt;You can use tExtractXMLField to do in your job. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDNt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132841iC2FF430BEE90D525/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDNt.jpg" alt="0683p000009MDNt.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 29 Feb 2016 11:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXmlMap-Find-node-based-on-attribute-value/m-p/2221953#M15746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-29T11:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tXmlMap Find node based on attribute value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tXmlMap-Find-node-based-on-attribute-value/m-p/2221954#M15747</link>
      <description>The tExtractXMLField worked perfectly.
&lt;BR /&gt;I wish you could do this within the tXMLMap component because I have some additional functions and cleanup I need to run once I extract the XML fields. &amp;nbsp;Would have been nice to just do that on the right side of the tXMLMap. &amp;nbsp;But I'll just pass this into another Map or JavaRow and make it work there.
&lt;BR /&gt;Thanks for your help. &amp;nbsp;Much appreciated.</description>
      <pubDate>Mon, 29 Feb 2016 20:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tXmlMap-Find-node-based-on-attribute-value/m-p/2221954#M15747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-29T20:58:22Z</dc:date>
    </item>
  </channel>
</rss>

