Question about TextInputStream

I have a file that is xml but have no valid schema so i need it to open as text file.
My question is,because the file is 50mb and about 330000 lines what is best procedure to go line by line and replace some values?

load it as binary stream into a TextField using monoproportional font: Monaco for example if the line of xml is not too large…): line by line, with a button to save the change (if any, else save the line at next line time) and save each line in another file / button click to read the next line.

Am I clear enough ?

Yes @Emile Schwarz it was clear thank you :slight_smile:

You’re welcome