Re: How to upload data with XSD file
From: Graeme Malcolm (graemem_cm_at_hotmail.com)
Date: 05/25/04
- Next message: Graeme Malcolm: "Re: Using SQLXML with Non ADO/ADO.NET."
- Previous message: Pro: "xs: and xsd: tag"
- In reply to: Pro: "Re: How to upload data with XSD file"
- Next in thread: Graeme Malcolm: "Re: How to upload data with XSD file"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 09:44:35 +0100
The SQLXML bits in the original release of SQL Server 2000 only supported
XDR. SQLXML 3.0 adds support for XSD. The file extension is irrelevant, the
schema is identified as an XSD schema by the namespace used in the
declaration.
If you've added annotations to your schema and it still doesn't work, there
might be a problem with your schema - can you post it?
Cheers,
Graeme
-- ---- Graeme Malcolm Principal Technologist Content Master Ltd. www.contentmaster.com www.microsoft.com/mspress/books/6137.asp "Pro" <nospam@nospam.net> wrote in message news:OWSL4TgQEHA.2976@TK2MSFTNGP10.phx.gbl... > Thank you Graeme. > Is the Bulk Load support XSD? > I read through the document for bulkload and examples. It users schema file > by extension XML instead of XSD. > I've tried to use the XSD as schema file in a VBS. It does not show error > but insert nothing to the tables. > Is there anything missing? > > > "Graeme Malcolm" <graemem_cm@hotmail.com> wrote in message > news:ePdmt4XQEHA.628@TK2MSFTNGP11.phx.gbl... > > Download SQLXML 3.0 SP2 > > > (http://www.microsoft.com/downloads/details.aspx?FamilyID=4C8033A9-CF10-4E22 > > -8004-477098A407AC&displaylang=en). You can then add annotations to your > XSD > > schema that map the elements and attributes in the XML to tables and > columns > > in the database. After creating the mapping schema, you can use the SQLXML > > Bulk Load component in a script to perform the upload. All of this is > > covered in the SQLXML documentation. > > > > Hope that helps, > > Graeme > > -- > > ---- > > Graeme Malcolm > > Principal Technologist > > Content Master Ltd. > > www.contentmaster.com > > www.microsoft.com/mspress/books/6137.asp > > > > > > "Pro" <nospam@nospam.net> wrote in message > > news:%23UBDKwVQEHA.2936@TK2MSFTNGP12.phx.gbl... > > > Hi, > > > > > > How can I upload a xml file with a schema in XSD file? > > > > > > Thank you. > > > > > > > > > > > > >
- Next message: Graeme Malcolm: "Re: Using SQLXML with Non ADO/ADO.NET."
- Previous message: Pro: "xs: and xsd: tag"
- In reply to: Pro: "Re: How to upload data with XSD file"
- Next in thread: Graeme Malcolm: "Re: How to upload data with XSD file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|