Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

xml data source, not sure why i'm losing data

$
0
0

i'm trying to load data into a sql database using an xml data source. 

here's the file location: http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml 

the xsd (generated by visual studio) is below. 

All outputs generate 0 rows inserted into an OLE DB destination, and there are no errors thrown.. What am i missing? Thanks!

<?xml version="1.0" encoding="utf-8"?>

<xs:schema xmlns:tns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.ecb.int/vocabulary/2002-08-01/eurofxref" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="Cube">

<xs:complexType>

<xs:sequence>

<xs:element name="Cube">

<xs:complexType>

<xs:sequence>

<xs:element maxOccurs="unbounded" name="Cube">

<xs:complexType>

<xs:attribute name="currency" type="xs:string" use="required" />

<xs:attribute name="rate" type="xs:decimal" use="required" />

</xs:complexType>

</xs:element>

</xs:sequence>

<xs:attribute name="time" type="xs:date" use="required" />

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>