Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

xml C# wrapper class

Back to Forum: Tech Off
  • User profile image
    Shark_M

    Hi guys
    I am trying to make a wrapper class for xml

    namely, to do something like this

    i give it the tagname and the inner text

    <Data>
    <tagname>innertext</tagname>
    <tagname2>innertext2</tagname2>
    etc....
    </Data>

    how can i implement this? i need an example to follow

    thanks

  • User profile image
    Harlequin

    Are you looking for a function where you toss in 2 strings and you get an XmlNode back?

  • User profile image
    Shark_M

    where i get a xmldocument back
    <Data>
    <login>mylogin</<login>
    <info>Someinfo<info/>
    </Data>

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.