Simplified input data preparation
Fixed #4
Allow strict XML DOM parsing