From 7e61d685c5d741265bcf96aa9d8ed4cd0ed80ba0 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 1 Jul 2007 08:31:52 +0000 Subject: [PATCH] When we are chunking long descriptions for mediaobject instances into separate HTML output files, and use.id.as.filename is non-zero, if a mediaobject has an ID, use that ID as the basename for the long-description file (otherwise, we generate an ID for it and use that ID as the basename for the file). The parallels the recent change made to cause IDs for legalnotice instances to be used as basenames for legalnotice chunks. Also, made some minor refinements to the recent changes for legalnotice chunk handling. --- xsl/html/chunk-code.xsl | 6 +++--- xsl/html/graphics.xsl | 33 +++++++++++++++++++++++++-------- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/xsl/html/chunk-code.xsl b/xsl/html/chunk-code.xsl index 39ee812bc..57e4d8cc8 100644 --- a/xsl/html/chunk-code.xsl +++ b/xsl/html/chunk-code.xsl @@ -82,9 +82,9 @@ - + - + @@ -93,7 +93,7 @@ - + diff --git a/xsl/html/graphics.xsl b/xsl/html/graphics.xsl index 5a22a60b4..125499876 100644 --- a/xsl/html/graphics.xsl +++ b/xsl/html/graphics.xsl @@ -1224,14 +1224,8 @@ valign: - - - - - - @@ -1247,8 +1241,31 @@ valign: - + + + + + + + + + + + + + + + + + + + + + + + -- 2.40.0