The dataset you linked to (http://www.fki.inf.unibe.ch/databases/iam-handwriting-database) does not contain the lineStrokes folder and XML files you seem to use in your code. The ones in 'xml' in this dataset are different, and I seem to not be able to download the datasets from the "On-Line handwriting database." Are those the files you used, and if so would you happen to have them available still?
The dataset you linked to (http://www.fki.inf.unibe.ch/databases/iam-handwriting-database) does not contain the lineStrokes folder and XML files you seem to use in your code. The ones in 'xml' in this dataset are different, and I seem to not be able to download the datasets from the "On-Line handwriting database." Are those the files you used, and if so would you happen to have them available still?