if it's not too much trouble could someone provide a sample on how to do
this?
thank you
Sami
<za***@construction-imaging.comwrote in message
news:02**********************************@26g2000h sk.googlegroups.com...
On Aug 5, 3:46 pm, "Sami" <sam...@ymail.comwrote:
Im new to c#
what's the easiest way to parse short xml files?
<html><head><title>Title of the
page</title><script></script></head><body>BODY</body></html>
and save it to an object for access later?
Class HtmlFile
{
public string Title
public string SciptType
public string SciptSrc
public string Body
}
XmlNodeReader seems very confusing
The two basic methods of loading an XML file from my experiance is 1)
use the DOM (Document Object Model) which uses the XmlDocument object
to load the file, and the SelectSingleNode method to get the value of
a single node, and 2) use the XmlSerializer class.