I got a XML Data file From a Webservice Task,and i want to import data to db(sql server 2008 R2).
In SSIS,use a Data Flow Task,add a XML Source Component,Choose the XML File,Generate XSD file,but no Availabel External Columns in the Columns card.
The following is the XML file:
<?xml version="1.0" encoding="utf-16"?>
<Report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<TaskName xmlns="http://send.com/">7.26Send</TaskName>
<Subject xmlns="http://send.com/">Londen Olympic</Subject>
<SenderName xmlns="http://send.com/" />
<SenderEmail xmlns="http://send.com/" />
<ReplyName xmlns="http://send.com/" />
<ReplyEmail xmlns="http://send.com/" />
<SendDate xmlns="http://send.com/">2012-07-26T17:00:00</SendDate>
<FinishDate xmlns="http://send.com/">2012-07-26T17:02:58</FinishDate>
<Total xmlns="http://send.com/">1267</Total>
<Sent xmlns="http://send.com/">1267</Sent>
<HardBounce xmlns="http://send.com/">188</HardBounce>
<SoftBounce xmlns="http://send.com/">21</SoftBounce>
<OpenCount xmlns="http://send.com/">105</OpenCount>
<UniqueOpenCount xmlns="http://send.com/">83</UniqueOpenCount>
<MailClicked xmlns="http://send.com/">5</MailClicked>
<LinkClicked xmlns="http://send.com/">0</LinkClicked>
<AllClicked xmlns="http://send.com/">6</AllClicked>
<Unsubscribe xmlns="http://send.com/">3</Unsubscribe>
</Report>
Who can tell me how to generate the XSLT and XSD File,Thanks a lot.