HI, 

After I managed to succesfully write data from R:base to a XML-file, now I have 
to do the opposite: reading a XML-file and importing the data in R:Base.

The xml-file looks like this :


<?xml version="1.0" encoding="UTF-8"?>
-<SingleInsurabilityResponse Version="01" TestFlag="false" Synchronous="true" 
SenderReference="00007073293112" ReceiverReference="99978679251" 
MessageName="M801900" 
Duplicate="false" xmlns="urn:be:cin:mycarenet:1.0:carenet:types">
-<CareReceiverDetail>
<Inss>60082918963</Inss>
<FirstName>LUC</FirstName>
<LastName>DELCOIGNE</LastName>
<Birthday>1960-08-29</Birthday>
<Sex>male</Sex>
</CareReceiverDetail>
-<InsurabilityResponseDetail>
-<Payment>
<PaymentByIo>false</PaymentByIo>
<SpecialSocialCategory>false</SpecialSocialCategory>
</Payment>
-<InsurabilityList Truncated="false">
-<InsurabilityItem>
<RegNrWithMut>9000736950883</RegNrWithMut>
<Mutuality>407</Mutuality>
-<Period>
<PeriodStart>2013-10-06</PeriodStart>
<PeriodEnd>2013-10-06</PeriodEnd>
</Period>
<CT1>410</CT1>
<CT2>460</CT2>
<InsurabilityDate>2013-10-07</InsurabilityDate>
</InsurabilityItem>
</InsurabilityList>
</InsurabilityResponseDetail>
-<InsurabilityRequestDetail>
<InsurabilityRequestType>information</InsurabilityRequestType>
-<Period>
<PeriodStart>2013-10-06</PeriodStart>
<PeriodEnd>2013-10-06</PeriodEnd>
</Period>
<InsurabilityContactType>ambulatory_care</InsurabilityContactType>
</InsurabilityRequestDetail>
</SingleInsurabilityResponse>

Any ideas how I could do this in the most elegant way ?

Thanks a lot !!

Luc Delcoigne

Reply via email to