Search code examples
xmlvb.netxmlreader

what do i have to do to work with xml in vb.net?


i am trying to use xmlreader and all of those, but i do not know how to reference or import them. i am beginner so please be gentle. thanks!


Solution

  • If you are using Visual Studio 2008 then you should really look at XML Literals. It allows you to work with XML directly in your code and has built-in query support.

    Example

    Dim x = <xml><p>hello</p><p>world</p></xml>