try this. it is possible to achieve what you wanted using ReadToFollowing
vb Code:
Using SudokuReader As XmlReader = XmlReader.Create(Path) While Not SudokuReader.EOF SudokuReader.ReadToFollowing("Casa") If SudokuReader.GetAttribute("name") = String.Empty Then Exit While End If MsgBox(SudokuReader.GetAttribute("name")) MsgBox(SudokuReader.ReadElementContentAsString) End While End Using




Reply With Quote