From: Norman Walsh Date: Thu, 27 Oct 2005 13:44:04 +0000 (+0000) Subject: Added new parameter keep.relative.image.uris X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca6d5b341fd6d8cfc7e5a4c492ae9c20cfb6dc53;p=docbook-dsssl Added new parameter keep.relative.image.uris --- diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 3f6b9a8da..1d8957ac4 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -294,3 +294,4 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 570becb8f..b673137c6 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -281,6 +281,7 @@ generate.section.toc.level; &use.role.for.mediaobject; &ignore.image.scaling; &img.src.path; +&keep.relative.image.uris; Pagination and General Styles @@ -664,6 +665,7 @@ around all these parameters. + diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 0c388debb..db3ad4c9c 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -278,3 +278,4 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index e1cca619f..281ff739c 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -287,6 +287,7 @@ stylesheet like this: Graphics &img.src.path; +&keep.relative.image.uris; &graphic.default.extension; &default.image.width; &nominal.image.width; @@ -588,6 +589,7 @@ around all these parameters. + diff --git a/xsl/params/keep.relative.image.uris.xml b/xsl/params/keep.relative.image.uris.xml new file mode 100644 index 000000000..cee478d00 --- /dev/null +++ b/xsl/params/keep.relative.image.uris.xml @@ -0,0 +1,28 @@ + + +keep.relative.image.uris +boolean + + +keep.relative.image.uris +Should image URIs be resolved against xml:base? + + + + + + + + + +Description + +If non-zeor, relative URIs (in, for example fileref attributes) will +be used in the generated output. Otherwise, the URIs will be made absolute +with respect to the base URI. + +Note that the stylesheets calculate (and use) the absolute form +for some purposes, this only applies to the resulting output. + + +