MAGIEL1234
New member
- Joined
- Dec 15, 2007
- Messages
- 1
- Programming Experience
- 5-10
While parsing a xml file, once an error is encountered, the ReadState of the XmlTextReader is set to Error and no more processing on the document can be performed.
I am handling the exeption, but subsequently I would like to (re)start processing again at the following LineNumber for example. (Skipping the line containing the fault which caused the ReadState to go in Error)
Settings.LineNumberOffset only works with XmlReader. I hope somebody can tell me how to start reading at a certain linenumber while using the XmlTextReader. Any alternative would also be welcome.
I am handling the exeption, but subsequently I would like to (re)start processing again at the following LineNumber for example. (Skipping the line containing the fault which caused the ReadState to go in Error)
Settings.LineNumberOffset only works with XmlReader. I hope somebody can tell me how to start reading at a certain linenumber while using the XmlTextReader. Any alternative would also be welcome.