xmlbulkload and namespace problem
- From: "heavenlyarts" <u29204@uwe>
- Date: Thu, 16 Nov 2006 16:24:12 GMT
I'm an xml thickie and after searching for hours I can't find the answer to a
problem.
I have a XML filefragment to load that looks like :-
<L:Record>
<L:Field>fdgdfgfg</L:Field>
</L:Record>
I cannot get it to load thru xmlbulk load. If I modify it to use the default
namespace
<RECORD>
<Field>fdgdfgfg<Field>
<RECORD>
then it loads with this schema
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sql="urn:schemas-microsoft-com:mapping-schema">
<xsd:element name="RECORD" sql:relation="RECORD" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Field" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Can anyone show me what I need to do to get the first, non default namespace
fragment to load.
thanx
Jeremy Ramsbottom
.
- Prev by Date: RE: Thoughts on storing address data with XML data type?
- Next by Date: i have two inserts and one delete i want in one transaction, is there any issue with this tsql strategy: http://rafb.net/paste/results/uY2KYP16.html
- Previous by thread: IIS Virtual Directory Manager and IIS 6: Template requests not being actioned.
- Next by thread: i have two inserts and one delete i want in one transaction, is there any issue with this tsql strategy: http://rafb.net/paste/results/uY2KYP16.html
- Index(es):
Relevant Pages
|
Loading