SSIS - XML File with Multiple Outputs XML Source Not Pulling Header Record

I have an XML file, listed below, and when running in SSIS the first seven lines under "edgeServerEnrollmentSubmission" is not being displayed in the output selection in the XML Source. I've underlined the portion that does not appear in SSIS.

<ns1:edgeServerEnrollmentSubmission
 xmlns:ns1="http://vo.edge.fm.cms.hhs.gov">
  <ns1:fileIdentifier>27</ns1:fileIdentifier>
  <ns1:executionZoneCode>T</ns1:executionZoneCode>
  <ns1:interfaceControlReleaseNumber>02.00.00</ns1:interfaceControlReleaseNumber>
  <ns1:generationDateTime>2014-02-05T00:00:00</ns1:generationDateTime>
  <ns1:submissionTypeCode>E</ns1:submissionTypeCode>
  <ns1:insuredMemberTotalQuantity>2</ns1:insuredMemberTotalQuantity>
  <ns1:insuredMemberProfileTotalQuantity>3</ns1:insuredMemberProfileTotalQuantity>

  <ns1:includedEnrollmentIssuer>
    <ns1:recordIdentifier>22</ns1:recordIdentifier>
    <ns1:issuerIdentifier>34567</ns1:issuerIdentifier>
    <ns1:issuerInsuredMemberTotalQuantity>2</ns1:issuerInsuredMemberTotalQuantity>
    <ns1:issuerInsuredMemberProfileTotalQuantity>3</ns1:issuerInsuredMemberProfileTotalQuantity>
    <ns1:includedInsuredMember>
      <ns1:recordIdentifier>23</ns1:recordIdentifier>
      <ns1:insuredMemberIdentifier>z42r6x99w15</ns1:insuredMemberIdentifier>
      <ns1:insuredMemberBirthDate>1950-01-01</ns1:insuredMemberBirthDate>
      <ns1:insuredMemberGenderCode>M</ns1:insuredMemberGenderCode>
      <ns1:includedInsuredMemberProfile>
        <ns1:recordIdentifier>24</ns1:recordIdentifier>
        <ns1:subscriberIndicator>S</ns1:subscriberIndicator>
        <ns1:subscriberIdentifier />
        <ns1:insurancePlanIdentifier>34567MD001555500</ns1:insurancePlanIdentifier>
        <ns1:coverageStartDate>2014-01-01</ns1:coverageStartDate>
        <ns1:coverageEndDate>2014-12-31</ns1:coverageEndDate>
        <ns1:enrollmentMaintenanceTypeCode>021028</ns1:enrollmentMaintenanceTypeCode>
        <ns1:insurancePlanPremiumAmount>1000.00</ns1:insurancePlanPremiumAmount>
        <ns1:rateAreaIdentifier>212</ns1:rateAreaIdentifier>
      </ns1:includedInsuredMemberProfile>
    </ns1:includedInsuredMember>
    <ns1:includedInsuredMember>
      <ns1:recordIdentifier>25</ns1:recordIdentifier>
      <ns1:insuredMemberIdentifier>r11xtu9874j</ns1:insuredMemberIdentifier>
      <ns1:insuredMemberBirthDate>1968-01-17</ns1:insuredMemberBirthDate>
      <ns1:insuredMemberGenderCode>F</ns1:insuredMemberGenderCode>
      <ns1:includedInsuredMemberProfile>
        <ns1:recordIdentifier>26</ns1:recordIdentifier>
        <ns1:subscriberIndicator>S</ns1:subscriberIndicator>
        <ns1:subscriberIdentifier />
        <ns1:insurancePlanIdentifier>34567VA001555500</ns1:insurancePlanIdentifier>
        <ns1:coverageStartDate>2014-01-01</ns1:coverageStartDate>
        <ns1:coverageEndDate>2014-03-31</ns1:coverageEndDate>
        <ns1:enrollmentMaintenanceTypeCode>021028</ns1:enrollmentMaintenanceTypeCode>
        <ns1:insurancePlanPremiumAmount>945.00</ns1:insurancePlanPremiumAmount>
        <ns1:rateAreaIdentifier>212</ns1:rateAreaIdentifier>
      </ns1:includedInsuredMemberProfile>
      <ns1:includedInsuredMemberProfile>
        <ns1:recordIdentifier>27</ns1:recordIdentifier>
        <ns1:subscriberIndicator />
        <ns1:subscriberIdentifier>z42r6x99w15</ns1:subscriberIdentifier>
        <ns1:insurancePlanIdentifier>34567MD001555500</ns1:insurancePlanIdentifier>
        <ns1:coverageStartDate>2014-04-01</ns1:coverageStartDate>
        <ns1:coverageEndDate>2014-12-31</ns1:coverageEndDate>
        <ns1:enrollmentMaintenanceTypeCode>021028</ns1:enrollmentMaintenanceTypeCode>
        <ns1:insurancePlanPremiumAmount>0</ns1:insurancePlanPremiumAmount>
        <ns1:rateAreaIdentifier>212</ns1:rateAreaIdentifier>
      </ns1:includedInsuredMemberProfile>
    </ns1:includedInsuredMember>
  </ns1:includedEnrollmentIssuer>
</ns1:edgeServerEnrollmentSubmission>
SharonBernalAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nishant joshiTechnology Development ConsultantCommented:
Hi SharonBernal,

can you please provide more information on this?

Which task you are using?
How you are checking output?

Waiting for you comment.
0
SharonBernalAuthor Commented:
I'm using a Data Flow Task(Control Flow) that has  XML Source task (Data Flow) in BIDS 2008.
I'm checking the output in a Flat File connection.

I get data from all of the outputs except the one that I identified at the top of the XML document.
0
nishant joshiTechnology Development ConsultantCommented:
Hello SharonBernal,

I have tried to create same package for which you are facing issue.I found xml output is not displaying root node.I have tried to add Root node (manually) as parent of all and it worked.so my xml will be :

<ns1:Root xmlns:ns1="http://vo.edge.fm.cms.hhs.gov">
<ns1:edgeServerEnrollmentSubmission>
  <ns1:fileIdentifier>27</ns1:fileIdentifier>
  <ns1:executionZoneCode>T</ns1:executionZoneCode>
  <ns1:interfaceControlReleaseNumber>02.00.00</ns1:interfaceControlReleaseNumber>
  <ns1:generationDateTime>2014-02-05T00:00:00</ns1:generationDateTime>
  <ns1:submissionTypeCode>E</ns1:submissionTypeCode>
  <ns1:insuredMemberTotalQuantity>2</ns1:insuredMemberTotalQuantity>
  <ns1:insuredMemberProfileTotalQuantity>3</ns1:insuredMemberProfileTotalQuantity>
  <ns1:includedEnrollmentIssuer>
    <ns1:recordIdentifier>22</ns1:recordIdentifier>
    <ns1:issuerIdentifier>34567</ns1:issuerIdentifier>
    <ns1:issuerInsuredMemberTotalQuantity>2</ns1:issuerInsuredMemberTotalQuantity>
    <ns1:issuerInsuredMemberProfileTotalQuantity>3</ns1:issuerInsuredMemberProfileTotalQuantity>
    <ns1:includedInsuredMember>
      <ns1:recordIdentifier>23</ns1:recordIdentifier>
      <ns1:insuredMemberIdentifier>z42r6x99w15</ns1:insuredMemberIdentifier>
      <ns1:insuredMemberBirthDate>1950-01-01</ns1:insuredMemberBirthDate>
      <ns1:insuredMemberGenderCode>M</ns1:insuredMemberGenderCode>
      <ns1:includedInsuredMemberProfile>
        <ns1:recordIdentifier>24</ns1:recordIdentifier>
        <ns1:subscriberIndicator>S</ns1:subscriberIndicator>
        <ns1:subscriberIdentifier />
        <ns1:insurancePlanIdentifier>34567MD001555500</ns1:insurancePlanIdentifier>
        <ns1:coverageStartDate>2014-01-01</ns1:coverageStartDate>
        <ns1:coverageEndDate>2014-12-31</ns1:coverageEndDate>
        <ns1:enrollmentMaintenanceTypeCode>021028</ns1:enrollmentMaintenanceTypeCode>
        <ns1:insurancePlanPremiumAmount>1000.00</ns1:insurancePlanPremiumAmount>
        <ns1:rateAreaIdentifier>212</ns1:rateAreaIdentifier>
      </ns1:includedInsuredMemberProfile>
    </ns1:includedInsuredMember>
    <ns1:includedInsuredMember>
      <ns1:recordIdentifier>25</ns1:recordIdentifier>
      <ns1:insuredMemberIdentifier>r11xtu9874j</ns1:insuredMemberIdentifier>
      <ns1:insuredMemberBirthDate>1968-01-17</ns1:insuredMemberBirthDate>
      <ns1:insuredMemberGenderCode>F</ns1:insuredMemberGenderCode>
      <ns1:includedInsuredMemberProfile>
        <ns1:recordIdentifier>26</ns1:recordIdentifier>
        <ns1:subscriberIndicator>S</ns1:subscriberIndicator>
        <ns1:subscriberIdentifier />
        <ns1:insurancePlanIdentifier>34567VA001555500</ns1:insurancePlanIdentifier>
        <ns1:coverageStartDate>2014-01-01</ns1:coverageStartDate>
        <ns1:coverageEndDate>2014-03-31</ns1:coverageEndDate>
        <ns1:enrollmentMaintenanceTypeCode>021028</ns1:enrollmentMaintenanceTypeCode>
        <ns1:insurancePlanPremiumAmount>945.00</ns1:insurancePlanPremiumAmount>
        <ns1:rateAreaIdentifier>212</ns1:rateAreaIdentifier>
      </ns1:includedInsuredMemberProfile>
      <ns1:includedInsuredMemberProfile>
        <ns1:recordIdentifier>27</ns1:recordIdentifier>
        <ns1:subscriberIndicator />
        <ns1:subscriberIdentifier>z42r6x99w15</ns1:subscriberIdentifier>
        <ns1:insurancePlanIdentifier>34567MD001555500</ns1:insurancePlanIdentifier>
        <ns1:coverageStartDate>2014-04-01</ns1:coverageStartDate>
        <ns1:coverageEndDate>2014-12-31</ns1:coverageEndDate>
        <ns1:enrollmentMaintenanceTypeCode>021028</ns1:enrollmentMaintenanceTypeCode>
        <ns1:insurancePlanPremiumAmount>0</ns1:insurancePlanPremiumAmount>
        <ns1:rateAreaIdentifier>212</ns1:rateAreaIdentifier>
      </ns1:includedInsuredMemberProfile>
    </ns1:includedInsuredMember>
  </ns1:includedEnrollmentIssuer>
</ns1:edgeServerEnrollmentSubmission>
</ns1:Root>

Open in new window


I am still checking.This is just for your hint if this solution may give you hint.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SharonBernalAuthor Commented:
This looks good and it does work. Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
XML

From novice to tech pro — start learning today.