From: Bob Stayton Date: Thu, 12 Aug 2004 08:35:31 +0000 (+0000) Subject: For RFE 790517, added parameter img.src.path as a prefix X-Git-Tag: release/1.79.1~6^2~4116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a96d301500dd278c4fff0f508f4397975268f891;p=docbook-dsssl For RFE 790517, added parameter img.src.path as a prefix to HTML img src attributes. --- diff --git a/xsl/html/graphics.xsl b/xsl/html/graphics.xsl index de702d3b8..4213a34c7 100644 --- a/xsl/html/graphics.xsl +++ b/xsl/html/graphics.xsl @@ -512,6 +512,14 @@ valign: + + + + + diff --git a/xsl/html/param.ent b/xsl/html/param.ent index a5046a3c9..ab9ae1abb 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -121,6 +121,7 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index a6b968d11..824483f0b 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -273,6 +273,7 @@ to be incomplete. Don't forget to read the source, too :-) Graphics +&img.src.path; &graphic.default.extension; &default.image.width; &nominal.image.width; @@ -557,6 +558,7 @@ around all these parameters. + diff --git a/xsl/params/img.src.path.xml b/xsl/params/img.src.path.xml new file mode 100644 index 000000000..a99b0ff0e --- /dev/null +++ b/xsl/params/img.src.path.xml @@ -0,0 +1,30 @@ + + +img.src.path +string + + +img.src.path +Path to HTML image files + + + + + + +Description + +Add a path prefix to each HTML +img element's +src attribute. +This path could relative to the directory where the HTML +files are created, or it could be an absolute URI. +The default value is empty. +Be sure to include a trailing slash if needed. + +This prefix is not applied to any filerefs that start +with "/" or contain "//:". + + + +