XmlReader reset

Is there anyway of move the cursor to the start again in a XmlReader object?

I have tried to put position = 0 on the Stream I gave it when created object, no luck.

I also closed the XmlReader to create a new one but then the stream is also closed ??!?!

Generally it’s forward moving only. Why would you want to go backwards to data you already read?

I read different blocks in a specific order and dont want be able to create the xml document in any order and the application take care of finding the data.

Read through in order and move items by type into a custom class then you can read in whatever order you like. :slight_smile:

Thats true if you have large RAM to store all XML values in a custom class