I had been a long while attending to the railway guide that I might learn the way to England; and before the sun had risen I was in the train for Dresden. 
I had been reading the railway guide so that I might learn the way to England; and before the sun had risen I was in the train for Dresden. 