Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: SDN List & XML [Thread Next] Re: SDN List & XMLTo: NULL Date: 10/3/2006 10:16:00 AM
Ok, I have some code and error for you :)
Some VBScript Code:
Dim objBulkLoad
Set objBulkLoad = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad")
objBulkLoad.ConnectionString = "provider=SQLOLEDB;data
source=server\server;database=SDNList;Integrated Security=SSPI;"
objBulkLoad.SchemaGen = True
objBulkLoad.BulkLoad = False
objBulkLoad.Execute
"http://www.treas.gov/offices/enforcement/ofac/sdn/sdn.xsd",
"http://www.treas.gov/offices/enforcement/ofac/sdn/sdn.xml"
Set objBulkLoad = Nothing
Of course, that'll wrap terribly. But anyhow, the error: Schema:
relationship expected on 'publshInformation'
My goal at this point is only to import the schema, and once I have
that working, import the data.
Thoughts? Thanks.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
