Is there a [relatively] simple means of limiting the viewport size of
an <imagedata/> tag to the size of another element, possibly the
enclosing element?
For example, in PDF output, I want the image scaled to fit the
viewport size of <figure/>, or, at the worst, the viewport for <para/
>. Anyway to handle this for the sample shown below?
<para>Test
<figure>
<title>Static Web</title>
<mediaobject>
<imageobject role="html">
<imagedata fileref="diagrams/static.png"/>
</imageobject>
<imageobject role="fo">
<imagedata format="PDF" fileref="diagrams/static.pdf"/>
</imageobject>
</mediaobject>
</figure>
</para>
System details: saxon 6.5.3, DocBook XML 4.4, XEP 4.3, DocBook XSL
Stylesheets 1.68.1
-David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--