471,318 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,318 software developers and data experts.

Loading XML

SWP
hi

I am using XmlDocument.Load to load a XML file into DOM.
But it fails when there is namespace defined for the root level.
If i remove the namespace from xml file its fine. Otherwise it fails( nodelist
collection.count is 0)
<Database xmlns='urn:zeus-schema' name="pubs">
<Table name="Authors" .....">
<Column name="AuId" ..../>
<Co....


if i remove xmlns='urn:zeus-schema' it fine. otherwise i am not getting an
error but i am not able to get and nodelistor element.
Jul 21 '05 #1
0 962

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Adrian MacNair | last post: by
2 posts views Thread by christopher.secord | last post: by
6 posts views Thread by Curious George | last post: by
5 posts views Thread by John Richardson | last post: by
2 posts views Thread by Rob | last post: by
2 posts views Thread by Jean Pierre Daviau | last post: by
3 posts views Thread by matdumsa | last post: by
5 posts views Thread by toffee | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.