Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 11th, 2009, 01:30 AM
Registered User
 
Join Date: Sep 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default PDF generation through PHP

Hi all,

I am using "XSL Formatter V4.1" and "XSLT 2.0 processor". I am generating PDF using XML and XSL through this configration by running a command through CLI. I want the same PDF output using PHP.
In the PHP interface I m getting XML output but unable to convert it in to PDF.

Does anybody has the knowledge about PDF generation through PHP with defined XSL.


Thanks in advance,
 
Old February 11th, 2009, 04:01 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

I no next to nothing about PHP but surely "XSL Formatter V4.1" has a COM interface so that it can be called from code? You need to check the manufacturer's documentation.
__________________
Joe
http://joe.fawcett.name/
 
Old February 11th, 2009, 05:01 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

If your stylesheet requires XSLT 2.0 then running it directly under PHP might prove difficult. If you want to use Saxon then you will have to call out to a .NET or Java environment. The other XSLT 2.0 processors currently available are Gestalt and Altova, both of which I believe run as COM objects.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic PDF Generation sandyg Classic ASP Components 12 June 15th, 2008 03:51 AM
php to pdf Prabhakar paliwal Beginning PHP 0 February 28th, 2007 01:56 AM
Dynamic PDF Document Generation nialljpmurphy J2EE 4 March 27th, 2006 07:13 PM
Report generation in PDF format kavithaatpass BOOK: Professional Crystal Reports for VS.NET 5 March 27th, 2006 07:10 PM
XML generation from PHP Ashleek007 XSLT 0 January 23rd, 2006 08:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.