J
Jaime
I have to save a dataset to xml and for efficiency I like to get rid of the
namespace prefix d2p1: can any one help
thanks
jaime
namespace prefix d2p1: can any one help
thanks
jaime
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Nicholas Paldino said:Jaime,
You can't just do that. If the namespace was written to the data set,
then it will certainly be needed to validate the contents when you read the
data set back in.
Why do you want to get rid of it? I can understand for efficiency, but
if you need to get the data back into a dataset (don't say you never will,
those things have a tendency to come back to haunt you), then you will
prevent yourself from doing so.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Jaime said:I have to save a dataset to xml and for efficiency I like to get rid of the
namespace prefix d2p1: can any one help
thanks
jaime
Jaime said:Thanks for the anwser but the namespace its not in the xsd from which I
created the dataset in the first place.
and the xsd would let me load the xml back to the dataset.
So I still have the problem
Thanks
any clarification is welcome
jaime
message news:[email protected]...Jaime,
You can't just do that. If the namespace was written to the data set,
then it will certainly be needed to validate the contents when you read the
data set back in.
Why do you want to get rid of it? I can understand for efficiency, but
if you need to get the data back into a dataset (don't say you never will,
those things have a tendency to come back to haunt you), then you will
prevent yourself from doing so.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
ofJaime said:I have to save a dataset to xml and for efficiency I like to get rid
thenamespace prefix d2p1: can any one help
thanks
jaime
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.