[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

DocBook <imagedata/> and scalefit attribute

Subject: DocBook <imagedata/> and scalefit attribute
From: David Nedrow <listbox@xxxxxxxxxx>
Date: Thu, 9 Jun 2005 22:43:10 -0400
docbook scalefit
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.