fdo#45418 xslt: Make sure we're reading from the beginning

Change-Id: Id5beb6af8c32ab45d7e31120d38966f8fe4d5418