 |
 |
 |
Hi Don,
XSLT cannot directly produce any type of binary file - as the output methods
are limited to XML, HTML or text (text output mode cannot be used to
generate binary because there is no way in XML, and thus XSLT, to denote
characters below 0x20 apart from 0x09, 0x0A and 0x0D).
References you have seen for generating PDFs from XSLT probably involve
generating XSL-FO (Formatting Objects) from the XSLT then passing that
XSL-FO through an FOP (FO Processor) - e.g. XSLT+XML => XSL-FO => (FOP) =>
PDF
You could use a similar approach for generating image files by using SVG -
e.g. XSLT+XML => SVG => (SVG Renderer) => Image file.
You will need to find an SVG rendering engine suited to your environment -
there's a few out there (open source and commercial)...
Off the top of my head... http://xml.apache.org/batik/
And someone told me a while back that the Adobe SVG plug-in could be used as
an SVG rendering engine too (but I have no idea how)...
www.---.com
Cheers
Marrow
http://www.marrowsoft.com - home of Xselerator (XSLT IDE and debugger)
http://www.topxml.com/Xselerator
"Don Foret" <DonForet@d...> wrote in message
news:36DD47AF-D84E-4AA6-906C-47BE48515B3C@m......
> I have a requirement to generate a image file(s) from an XSLT file(s). I
> haven't had any luck finding anything that will do the job. I've seen many
> references to creation of PDF's but not JPEG or GIF files.
>
> Does anyone know of any tools to accomplish this?
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |