XML to object

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sami

    XML to object

    string xml = "<html><head><t itle>Title of the page</title><script
    type="text/javascript"
    src="script.js" ></script></head><body>BODY </body></html>";

    I need to convert the <headportion of this xml into an object with
    corresponding properties.

    Class Head
    public string Title
    public string SciptType
    public string SciptSrc
    ....

    What's the most efficient way to do this?

    Thank you
    Sami

Working...