@tobias,
yes this works if you import System.Xml. Examples to read can be found in this and this thread.
c.