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
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