Converted CCD Lib scanner to use lxml.