Re: Importing data into MS SQL 2000 from XML file
- From: "Sam Alexander" <sam.alexander@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 09 Jun 2006 17:16:31 GMT
To: markc600
Re: Re: Importing data into MS SQL 2000 from XML file
By: markc600 to comp.databases.ms-sqlserver on Fri Jun 09 2006 09:31 am
From Newsgroup: comp.databases.ms-sqlserver
I've noticed you have 'Units' and 'units' - XML is often (always?)
case-sensitive so this may not work.
--- Synchronet 3.13b-Linux NewsLink 1.84
Hi Marc,
Thanks for the reply, and I'll check this out. Since making my post
earlier I've gotten my import to work, but to a point.
My XML file starts with this:
<?xml version="1.0" ?>
<vendor_database xmlns="http://www.vendorurl.com">
-snip-
and here's how my schema.xml file starts ...
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sql="urn:schemas-microsoft-com:mapping-schema">
<xsd:element name="vendor_database" sql:is-constant="true" >
-snip-
If I remove the xmlns entry from the XML data file the import runs fine,
but leaving it in there the import runs but nothing is imported. How do I
work this into the schema file? This vendor file is downloaded
automatically and no way to have this entry deleted from the xml file I"m
importing into my database.
So at this point it's just about there, just need to figure how what to do
with the xmlns entry.
Thanks --
Sam
---
Sam Alexander - sam.alexander(at)sidebandbbs(dot)com
http://www.samandflip.com or telnet://sidebandbbs.com
---
"Data is not information, Information is not knowledge, Knowledge is not
understanding, Understanding is not wisdom." -- Cliff Stoll
--- Synchronet 3.13b-Linux NewsLink 1.84
--[SideBand BBS - telnet://sidebandbbs.com]--
.
- References:
- Re: Importing data into MS SQL 2000 from XML file
- From: markc600
- Re: Importing data into MS SQL 2000 from XML file
- Prev by Date: Re: SQL2005 Rebuild Index Not Working
- Next by Date: Re: if-then in select stmnt
- Previous by thread: Re: Importing data into MS SQL 2000 from XML file
- Next by thread: if-then in select stmnt
- Index(es):
Relevant Pages
|