Re: [XSL-FO] scaling of graphics
- ronald heller wrote:
> Is there some way of testing the dimensions of the graphics in XSL fo orYou'll probably have to do the latter. I don't think there are any
> should I have another script that reads in all these dimensions for me?
functions, properties, etc. which return an image's dimensions.
If you had the dimensions coded in a quick-and-dirty well-formed XML
document, you could use this as input to the transformation. Something like:
Then you can use the XSLT document() function to get dimensions for a
particular image, compare to the page size, and clip or scale accordingly.
Interesting problem. I'd be interested in knowing if anyone else on the
list has any brainstorms.
John E. Simpson | "I can levitate birds. No one cares."
http://www.flixml.org | (Steven Wright)
XML Q&A: www.xml.com |