Add tunnel-parameter for base uris in mode chunk-cleanup in print.xsl #485
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Issue #484 Adds necessary parameters for template calls in mode
chunk-cleanup
in theprint.xsl
stylesheet.This allows fake chunking for paged media, which is basically to produce one single HTML file at a location that is known to, and controlled by, the stylesheet in form of
$chunk-output-base-uri
and$chunk
. This, in turn, enables the stylesheets to produce (and execute, if thefile:copy
function is available) copy instructions for media files, since the absolute path for the destination can be calculated.It was not clear to me where i had to use the
tunnel="yes"
declaration. My first guess was to use it for every template parameterrootbaseuri
andchunkbaseuri
, but that leads to errors. The current solution is the result of trial-and-error.Greetings, Frank