<?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: Difference between Dom4J &amp; SAX parser? When to prefer Dom4J in Talend? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314163#M84959</link>
    <description>Thanks Kzone and Wliu for your comments. 
&lt;BR /&gt;I have published a small article on the difference between 
&lt;B&gt; Slow &amp;amp; Memory Consuming (Dom4J)&lt;/B&gt; and 
&lt;B&gt;Fast with low Memory Consumption (SAX) &lt;/B&gt; Generation modes. 
&lt;BR /&gt;For details visit 
&lt;A href="http://www.vikramtakkar.com/2013/09/difference-between-dom4j-and-sax-parser.html" rel="nofollow noopener noreferrer"&gt;http://www.vikramtakkar.com/2013/09/difference-between-dom4j-and-sax-parser.html&lt;/A&gt;</description>
    <pubDate>Tue, 03 Sep 2013 09:31:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-09-03T09:31:36Z</dc:date>
    <item>
      <title>Difference between Dom4J &amp; SAX parser? When to prefer Dom4J in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314159#M84955</link>
      <description>Hello All,
&lt;BR /&gt;I would like to know technical difference between the two 
&lt;B&gt;Generation Modes&lt;/B&gt; (Advanced Settings of tFileInputXML) 
&lt;BR /&gt;
&lt;B&gt;1. Slow &amp;amp; Memory Consuming (Dom4J).&lt;BR /&gt;2. Fast with low Memory Consumption (SAX).&lt;/B&gt;
&lt;BR /&gt;In which scenarios, one should prefer Dom4J (Slow) over SAX (Fast) generation modes? Need your expert advice.</description>
      <pubDate>Mon, 02 Sep 2013 07:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314159#M84955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-02T07:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Dom4J &amp; SAX parser? When to prefer Dom4J in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314160#M84956</link>
      <description>hi vikram.takkar, 
&lt;BR /&gt;Dom4j load the entire document to be able to work with. (lot of memories) 
&lt;BR /&gt;Sax parser just retrieve what you need. 
&lt;BR /&gt;So for huge xml files, you'll use Sax, because Dom4j need a lot of memory to work with. 
&lt;BR /&gt;If you have to use filter in your Xpath , only Dom is Ok. Sax doesn't ! 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 02 Sep 2013 08:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314160#M84956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-02T08:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Dom4J &amp; SAX parser? When to prefer Dom4J in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314161#M84957</link>
      <description>about tExtractXmlField, the parser is automatically on Document Parser (Dom4j).&lt;BR /&gt;So you cannot use it for huge data.&lt;BR /&gt;@+</description>
      <pubDate>Mon, 02 Sep 2013 09:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314161#M84957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-02T09:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Dom4J &amp; SAX parser? When to prefer Dom4J in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314162#M84958</link>
      <description>Dom4j: it will load the whole source xml file and construct a tree in the computer's memory. When the source file is big, it will spend lots of time to load the source file into the memory. Advantatage is that it support plenty of xpath expressions. 
&lt;BR /&gt;SAX: it is based on data stream. like read data from a source file using java io stream, it won't consume a little memory; especially when the xpath doesn't include "..", it will process the xml source very quickly with few memory. disadvantages: it only supports simple xpath and doesn't support complex xpath expressions like last() and filter and so on.</description>
      <pubDate>Tue, 03 Sep 2013 02:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314162#M84958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-03T02:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Dom4J &amp; SAX parser? When to prefer Dom4J in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314163#M84959</link>
      <description>Thanks Kzone and Wliu for your comments. 
&lt;BR /&gt;I have published a small article on the difference between 
&lt;B&gt; Slow &amp;amp; Memory Consuming (Dom4J)&lt;/B&gt; and 
&lt;B&gt;Fast with low Memory Consumption (SAX) &lt;/B&gt; Generation modes. 
&lt;BR /&gt;For details visit 
&lt;A href="http://www.vikramtakkar.com/2013/09/difference-between-dom4j-and-sax-parser.html" rel="nofollow noopener noreferrer"&gt;http://www.vikramtakkar.com/2013/09/difference-between-dom4j-and-sax-parser.html&lt;/A&gt;</description>
      <pubDate>Tue, 03 Sep 2013 09:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Difference-between-Dom4J-SAX-parser-When-to-prefer-Dom4J-in/m-p/2314163#M84959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-03T09:31:36Z</dc:date>
    </item>
  </channel>
</rss>

