Home All Groups Group Topic Archive Search About

xmlns attribute in root element

Author
7 Dec 2004 5:26 PM
Jeff Langston
I have a xml file where the root element has xmlns attribute. When I try and
import it using a xsd file and sqlxml bulk insert it does not insert any
records. When I remove the xmlns attribute it works perfectly. How can I
make it work with this attribute, or is there an easy way to automate the
removal of it?

Thanks,

Jeff Langston
Cashless Systems

Author
7 Dec 2004 5:34 PM
Bryant
Have you tried declaring the namespace in the XSD file? If you map the
root element with the namespace in the XSD file it should work.
--
Bryant
Author
7 Dec 2004 5:37 PM
Jeff Langston
I am not sure how to do that. Could you post an example?

Thank You!!!

Jeff Langston
Cashless Systems


Show quote
"Bryant" <bryant@suespammers.org> wrote in message
news:1102440875.786334.235630@f14g2000cwb.googlegroups.com...
> Have you tried declaring the namespace in the XSD file? If you map the
> root element with the namespace in the XSD file it should work.
> --
> Bryant
>
Author
7 Dec 2004 5:45 PM
Bryant
Did you see my reply to your other post? It looks like you had declared
it but that your xsd might have been invalid. Take a look at that and
then let me know if it fixes it for you.

--
Bryant

AddThis Social Bookmark Button