I try to create a xml file based on a list of authors. I need to create a xml file with a structure like this..<root>
And this should be created from a list that I have created. The method look like this...
Public Sub MakeXmlFile(ByVal MyAuthorList As List(Of AuthorHandler))
Dim CurrentAuthor As String
For Each row In MyAuthorList
CurrentAuthor = row.AuthorName
For Each BookRow In row.AuthorBookList 'Add all autors books to xml
I'm not sure on how to create the Xelement part and could use som help.
View Complete Post