Maybe I am not understanding your request, but I don't think the DLL needs the MoveToNextAttribute method. The main loop returns each element in turn. As an element is found, the Item method will give you whatever attribute within the element that you require.
Yes, but if I don't know the name of the attribute I can't access it with .Item. There should be a Method to walk through all attributes.
But there was still a mistake in my example code. The "If rdr.AttributeCount ... End If" block must be below the "msg = msg & rdr.NodeType & ": " rdr.Name & " " & rdr.Value & CRLF" line.
@agraham:
I think with the MoveToNextAttribute we have erverything to parse any xml-File. The writer works for simple XML-Files and thats enough for me. If you supply the source of the dll I will try to get it compiled with SharpDevelop and if I need additional methods I can write them by my own.
The help file works on my PC at work. Seems to be really a security problem because when I want to open it on my home PC WindowsXP asks if I really will open it.
Thank you very much.
I think this library will help many B4PPC users parsing xml files.
Greetings,
Markus