daisy/pipeline-scripts — pull request #40 by josteinaj (2014-06-03 21:30:26+00:00)
Title: daisy202-to-epub3: fix for NCX dtb:uid, as well as more logging messages

* added more log messages to daisy202-to-epub3, both for easier debugging and more insight into what is happening when running the script
* replaced pxi:fix-textrefs with a XSLT template; XSLT templates perform better than recursive p:viewports
* replaced a p:count/p:choose/re-pipe assertion with px:assert
* the dc:identifier is needed for determining the dtb:uid in nav-to-ncx.xsl
* also supports retrieving the language from `/*/html:head/html:meta[lower-case(@name)='dc:identifier']` in addition to `/*/@lang` and `/*/@xml:lang`