0 Rows returned when trying to use xml tags

jlazerus
jlazerus 🟑

I'm trying to bring in some XML data and when I run the import by pasting in the xml, I'm only given one row while my xml data has hundreds. I tried specifying the tag but when I do I get 0 rows. Not sure what I'm doing wrong. Also haven't worked with xml too much.Β  Here's a sample of what I'm trying to pull in. There are many more <entry> tags.

Β 

Β 
Β 
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xml:base="https://test.sharepoint.com/sites/pwa/_api/Projectdata/">
<id>
https://test.sharepoint.com/sites/pwa/_api/Projectdata/ProjectWorkflowStageDataSet
</id>
<title type="text">ProjectWorkflowStageDataSet</title>
<updated>2018-05-30T18:41:32Z</updated>
<link rel="self" title="ProjectWorkflowStageDataSet" href="ProjectWorkflowStageDataSet"/>
<entry>
<id>
https://test.sharepoint.com/sites/pwa/_api/Projectdata/ProjectWorkflowStageDataSet(ProjectId=guid'e5c7a940-7e8c-e511-80ce-00155d2c681d',StageId=guid'ef871bed-3e5d-e311-a3f4-00155d409913')
</id>
<category term="ReportingData.ProjectWorkflowStageData" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link rel="edit" title="ProjectWorkflowStageData" href="ProjectWorkflowStageDataSet(ProjectId=guid'e5c7a940-7e8c-e511-80ce-00155d2c681d',StageId=guid'ef871bed-3e5d-e311-a3f4-00155d409913')"/>
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Project" type="application/atom+xml;type=entry" title="Project" href="ProjectWorkflowStageDataSet(ProjectId=guid'e5c7a940-7e8c-e511-80ce-00155d2c681d',StageId=guid'ef871bed-3e5d-e311-a3f4-00155d409913')/Project"/>
<title/>
<updated>2018-05-30T18:41:32Z</updated>
<author>
<name/>
</author>
<content type="application/xml">
<m:properties>
<d:ProjectId m:type="Edm.Guid">e5c7a940-7e8c-e511-80ce-00155d2c681d</d:ProjectId>
<d:StageId m:type="Edm.Guid">ef871bed-3e5d-e311-a3f4-00155d409913</d:StageId>
<d:LastModifiedDate m:type="Edm.DateTime">2015-12-30T10:51:36.703</d:LastModifiedDate>
<d:LCID m:type="Edm.Int32">1033</d:LCID>
<d:PhaseDescription/>
<d:PhaseName>03 - Portfolio Analysis Phase</d:PhaseName>
<d:ProjectName>2016_Q1_Cash Flow Forecaster</d:ProjectName>
<d:StageCompletionDate m:type="Edm.DateTime">2015-12-30T18:51:36.583</d:StageCompletionDate>
<d:StageDescription/>
<d:StageEntryDate m:type="Edm.DateTime">2015-12-30T18:33:58.907</d:StageEntryDate>
<d:StageInformation>Portfolio Analysis Review Stage Completed</d:StageInformation>
<d:StageLastSubmittedDate m:type="Edm.DateTime">2015-12-30T18:51:09.45</d:StageLastSubmittedDate>
<d:StageName>05 - Portfolio Analysis Review Stage</d:StageName>
<d:StageOrder m:type="Edm.Int32">3</d:StageOrder>
<d:StageStateDescription>Completed</d:StageStateDescription>
<d:StageStatus m:type="Edm.Int32">4</d:StageStatus>
</m:properties>
</content>
</entry>

Comments