[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.

Subject: Re: How to render a pdf file in xsl.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 26 Apr 2005 10:06:23 +0100
how to render
  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
________________________________________________________________________

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.