Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

health data xml parsing

I am trying to parse the health data xml file that I have exported. I am working with the export.xml file. This is a large file in my case (2 GB). I have tried importing into Excel as well as using some code to read through the file. However, I keep getting an error when I do so saying that there is a duplicate attribute in one of the nodes in the file. Has anyone else seen this?

iPhone 14 Pro

Posted on Oct 9, 2022 7:54 AM

Reply
2 replies

Oct 9, 2022 8:23 AM in response to jbgeers

Here’s a previous discussion with how to pick apart and fix the XML flaw(s):

problem with import of XML Apple HealthKi… - Apple Community


Best collect details, and report this to Apple.


If you’re in the developer program as would be typical of most folks posting here:

https://feedbackassistant.apple.com


If not…

Product Feedback - Apple


And FWIW… DuckDuckGo and Google if you’re still using that service both offer a site: search keyword, which allows you to enter and better target a search for previous reports (searching for, for instance XML HealthKit {error} site:discussions.apple.com) and which can find the “has anyone else seen this?” cases.



health data xml parsing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.