[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to render a pdf file in xsl.
I got a pdf file already created and would be able to render it with the following tag in html: <embed src="c:\web\test.pdf" width="100%" height="100%"> Of course the above is very strange "HTML", Firstly there is no embed element in html, and secondly those elements that do have a src attribute take values that are URI eg file:///web/test.pdf not MSDOS file paths. Is it possible to render this file in xsl? It isn't clear what you mean by this question. If you are generating HTML with XSLT then nothing is actually rendered by the XSLT engine, so you just need to generate whatever HTML works. If you are generating XSL Formating objects then you can create a link to a pdf file using fo:basic-link or or you can include a graphic with fo:external-graphic, although you would need to check with your FO system which graphic formats it supports (it may well not support pdf as a graphic format) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|