Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am haveing problems find the right method to read an xml file. I xml file is being send to me as a string and I need to read through it a assign all it attribute to strings that I can use. I have tried using xmlreader along with many other xml class and am having no success. If anyone has any advice it would be greatly appriciated.

 

Thanks

Posted
I am haveing problems find the right method to read an xml file. I xml file is being send to me as a string and I need to read through it a assign all it attribute to strings that I can use. I have tried using xmlreader along with many other xml class and am having no success. If anyone has any advice it would be greatly appriciated.

 

Thanks

 

You could try using a Dataset and reading the xml into it

 

e.g.

Dataset1.readxml(xmlfilename)

 

Hope this helps

 

Andy

Code today gone tomorrow!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...