Re: SQLXMLBulkLoad of text child nodes vs. attributes?
From: Irwin Dolobowsky [MSFT] (irwind_at_mail.microsoft.com)
Date: 11/01/04
- Next message: SN: "Re: A newbie need help for SQL XML"
- Previous message: Irwin Dolobowsky [MSFT]: "Re: A newbie need help for SQL XML"
- In reply to: KW: "SQLXMLBulkLoad of text child nodes vs. attributes?"
- Next in thread: weinerk_at_gmail.com: "Re: SQLXMLBulkLoad of text child nodes vs. attributes?"
- Reply: weinerk_at_gmail.com: "Re: SQLXMLBulkLoad of text child nodes vs. attributes?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Nov 2004 15:48:32 -0800
you can only map simple-type elements to columns. ALso, I would recommend
moving to XSD.
-- Thanks, Irwin Irwin Dolobowsky Program Manager, SqlXml http://blogs.msdn.com/irwando This posting is provided "AS IS" with no warranties, and confers no rights. "KW" <newsgroups@weinerk.mailshell.com> wrote in message news:f9f22f30.0411010908.78662fc6@posting.google.com... > SQLXMLBulkLoad of text child nodes vs. attributes? > > Given: > 1) XML something like <e1 a1="aaa" a2="bbb">CDATA[[blah]]</e1> > 2) using MSSQL 2K with SQLXML 3 > 3) using MS XML View Mapper to make the xdr to load data > 4) using vbs to oXMLBulkLoad.Execute "C:\XMLData\kw.xdr", > "C:\XMLData\tmp.xml" > > Question: > XML element attributes map to SQL schema OK > but how do I map the XML element child text to a field in SQL record?
- Next message: SN: "Re: A newbie need help for SQL XML"
- Previous message: Irwin Dolobowsky [MSFT]: "Re: A newbie need help for SQL XML"
- In reply to: KW: "SQLXMLBulkLoad of text child nodes vs. attributes?"
- Next in thread: weinerk_at_gmail.com: "Re: SQLXMLBulkLoad of text child nodes vs. attributes?"
- Reply: weinerk_at_gmail.com: "Re: SQLXMLBulkLoad of text child nodes vs. attributes?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|