1EPUB	HTML	TEICorpus	ZIP
Arguments
objects	objects	objects	objects
sid	sid	sid	sid
stylesheet	stylesheet		
	refreshStylesheet		
	usePI		
title			title
	embedded		
	css		
	mediatype		
		attach	
		flat	
Steps triggered by GET
extractRootObjects	extractRootObjects | getContents	extractRootObjects	extractRootObjects
evaluatePreconditions	evaluatePreconditions	evaluatePreconditions	evaluatePreconditions
		formatValidation	
workingDir			
(corpus | data) → tempfile	(corpus | data) → (buffer | input)		
	detectStylesheet		
loadTransformer	loadTransformer		
	setupTransformer		
transform			
configureResponse	configureResponse	configureResponse	configureResponse
Steps triggered by write()
	loadSourcel		
	load/setupTransformerl		
	setupPostprocessor		
	transform		
		setupXMLOutput	
		(createBasketWrapper)	
		walkAggregationTrees	
setupZipOutput			setupZipOutput
writeEpubHeader			
writeFromWorkingDir			
writeExternalItems			
cleanupWorkingDir			
			buildAggregationTrees
			buildRewriteMapping
			writeAggregationTree
			writeRewripeMapping
closeOutput		closeXMLOutput	closeZipOutput
Temporary Stuff
(corpus)			
working directory with converted data to be zipped up			FBBAOS per object to rewrite, for recovery
Rewriting
Generated HTML files in the temporary folder according to a very simple rule	By XSLT according to a pattern	xml:id disambiguation	regular on-the-fly rewriting according to a mapping created first

Thorsten Vitt

2014-01-13T16:36:05

Thorsten Vitt