Cor,
I saw in the documentation where I could load it as a file. The only
problem is, I'm receiving the XML string via a TCP/IP packet... so, I would
hate to save every packet as a file, then load it in again. I guess my
ideal way to do this would be to convert the string to a format that the
readXML function could use.
But, I think you may be right... I might have to save it as a file first,
then read it in again.
Thanks for your help,
Brian
"Cor" <no*@non.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi Brian,
If I see it good than is this a mistake that is often made.
A dataset can be represented and used as an XML file.
An XML file is not a dataset.
So you first have to create your dataset (using the designer, code does
not mather) and then you can fill that dataset.
Is your XML file conform the XML dataset than it is just read the dataset
with mydataset.readXML(myxmlfile.xml)
Others you will have to go to the XML file reading/processing your XML
doc.
You can use for that the XMLreader or as you said by using loadXML
I hope this helps?
Cor