<?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 Reading many XML files - complex and hierarchical - performance tests available??? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35661#M7058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="http://support.sas.com/documentation/cdl/en/engxml/63177/HTML/default/viewer.htm#titlepage.htm"&gt;XML LIBNAME engine&lt;/A&gt; is probably the best place to start. Since you state that the XML files are complex, you will most likely need the &lt;A href="http://support.sas.com/documentation/cdl/en/engxml/63177/HTML/default/viewer.htm#n0mxvt7afwoqron1pioilw0vzxq1.htm"&gt;XML Mapper&lt;/A&gt;. This application will create a XMLMap file to allow the XML LIBNAME engine to read the hierarchical XML files into rectangular SAS data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This XSL procedure transforms a XML file to a different XML structure or another file format like text or HTML. Unless the XML is too complex for the XML Mapper, the XSL procedure will most likely not be needed. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 13:44:31 GMT</pubDate>
    <dc:creator>BillM_SAS</dc:creator>
    <dc:date>2012-03-20T13:44:31Z</dc:date>
    <item>
      <title>Reading many XML files - complex and hierarchical - performance tests available???</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35660#M7057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have to read many (roundabout 100.000 / day) XML files into SAS format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Does someone have any experience / performance testing done to read a mass of XML files at once?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What seems to be the best method? (Libname, Proc XSL, own text parser, ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML files are complex and hierarchical and have a size between 10 KB and 4 MB and all in all three different formats of files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35660#M7057</guid>
      <dc:creator>kbohle</dc:creator>
      <dc:date>2012-03-19T08:02:51Z</dc:date>
    </item>
    <item>
      <title>Reading many XML files - complex and hierarchical - performance tests available???</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35661#M7058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="http://support.sas.com/documentation/cdl/en/engxml/63177/HTML/default/viewer.htm#titlepage.htm"&gt;XML LIBNAME engine&lt;/A&gt; is probably the best place to start. Since you state that the XML files are complex, you will most likely need the &lt;A href="http://support.sas.com/documentation/cdl/en/engxml/63177/HTML/default/viewer.htm#n0mxvt7afwoqron1pioilw0vzxq1.htm"&gt;XML Mapper&lt;/A&gt;. This application will create a XMLMap file to allow the XML LIBNAME engine to read the hierarchical XML files into rectangular SAS data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This XSL procedure transforms a XML file to a different XML structure or another file format like text or HTML. Unless the XML is too complex for the XML Mapper, the XSL procedure will most likely not be needed. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 13:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35661#M7058</guid>
      <dc:creator>BillM_SAS</dc:creator>
      <dc:date>2012-03-20T13:44:31Z</dc:date>
    </item>
    <item>
      <title>Reading many XML files - complex and hierarchical - performance tests available???</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35662#M7059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your experience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now - one step further - I tested already the libname engine and get a lot of problems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The files are too complex and large for the libname engine - I've got a MEMSIZE problem. SAS support told me that I have to change MEMSIZE to 8GB which is currently in the used environment not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PEOC XSL is working well to transform some of files into CSV format. Do you have any configuration experiences with PROC XSL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 05:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35662#M7059</guid>
      <dc:creator>kbohle</dc:creator>
      <dc:date>2012-04-02T05:22:53Z</dc:date>
    </item>
    <item>
      <title>Reading many XML files - complex and hierarchical - performance tests available???</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35663#M7060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For all who are interested in XML computation with SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found know a solution together with the SAS support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to transform roundabout 2500 XML files in one XSLT computation into one CSV-file. I used within SAS 9.2 the PROC XSL procedure. In addition I had to change the SAS config file (JREOPTION) to increase the Memory size used for Java.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to transform three kinds of XML files (each 2500 files - together 7500 files)with different structure, different complexity and different sizes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transformation of the first type - in total 55 MB size - was transformed within 18 seconds!!!&lt;/P&gt;&lt;P&gt;The transformation of the second type - in total 145 MB size - was transformed within 60 seconds!!!&lt;/P&gt;&lt;P&gt;The transformation of the first type - in total 34 MB size - was transformed within 10 seconds!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 12:06:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-many-XML-files-complex-and-hierarchical-performance/m-p/35663#M7060</guid>
      <dc:creator>kbohle</dc:creator>
      <dc:date>2012-04-03T12:06:03Z</dc:date>
    </item>
  </channel>
</rss>

