<?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 For iPhone Xs how to read exported iphone health data XML? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/For-iPhone-Xs-how-to-read-exported-iphone-health-data-XML/m-p/749986#M235814</link>
    <description>&lt;P&gt;The iphone Xs (iOS14.2) Health Data app can export its data into to XML files that are zipped. The files are called export.zip, export.xml and export_cda.xml. I've tied using SAS XML Mapper which complains that there data is too large (45meg).&lt;/P&gt;&lt;P&gt;How do I import this data into SAS?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 19:54:22 GMT</pubDate>
    <dc:creator>davdilana</dc:creator>
    <dc:date>2021-06-23T19:54:22Z</dc:date>
    <item>
      <title>For iPhone Xs how to read exported iphone health data XML?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/For-iPhone-Xs-how-to-read-exported-iphone-health-data-XML/m-p/749986#M235814</link>
      <description>&lt;P&gt;The iphone Xs (iOS14.2) Health Data app can export its data into to XML files that are zipped. The files are called export.zip, export.xml and export_cda.xml. I've tied using SAS XML Mapper which complains that there data is too large (45meg).&lt;/P&gt;&lt;P&gt;How do I import this data into SAS?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 19:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/For-iPhone-Xs-how-to-read-exported-iphone-health-data-XML/m-p/749986#M235814</guid>
      <dc:creator>davdilana</dc:creator>
      <dc:date>2021-06-23T19:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: For iPhone Xs how to read exported iphone health data XML?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/For-iPhone-Xs-how-to-read-exported-iphone-health-data-XML/m-p/750051#M235854</link>
      <description>&lt;P&gt;That's not good that XML mapper cannot be used.&amp;nbsp; I've found XML mapper to be extremely useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way you can export a smaller subset of the data on the iPhone?&amp;nbsp; If you can export a dataset that is smaller overall but has the same XML structure as the large dataset, then you should be able to use XML mapper.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can't do that, you can create an XML map by hand, but that is a royal pain in the neck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Those are my ideas.&amp;nbsp; More ideas here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.lexjansen.com/pharmasug/2009/tu/TU10.pdf" target="_blank"&gt;https://www.lexjansen.com/pharmasug/2009/tu/TU10.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are tons of SAS papers on LexJansen.com.&amp;nbsp; Check it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 22:36:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/For-iPhone-Xs-how-to-read-exported-iphone-health-data-XML/m-p/750051#M235854</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-23T22:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: For iPhone Xs how to read exported iphone health data XML?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/For-iPhone-Xs-how-to-read-exported-iphone-health-data-XML/m-p/750173#M235896</link>
      <description>The most powerful way is writing Data Step code to import this xml file.&lt;BR /&gt;or do you try xmlv2 engine ?&lt;BR /&gt;&lt;BR /&gt;filename x temp;&lt;BR /&gt;&lt;BR /&gt;libname xml xmlv2 'c:\temp\temp.xml' automap=replace xmlmap=x ;&lt;BR /&gt;&lt;BR /&gt;proc copy in=xml out=work;&lt;BR /&gt;run;</description>
      <pubDate>Thu, 24 Jun 2021 12:14:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/For-iPhone-Xs-how-to-read-exported-iphone-health-data-XML/m-p/750173#M235896</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-06-24T12:14:50Z</dc:date>
    </item>
  </channel>
</rss>

