Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I use XSL Formatting Objects with PHP

Status
Not open for further replies.

staleylayne

Programmer
Sep 27, 2006
1
DE
Hi there,

right before I go on learning something about xsl Formatting Objects I would like to know whether or not it is possible to use them in a php-script?
Until now I just found the possibility of processing xml documents using the php-function 'XsltProcessor()'.., which is quite helpful for me. But since I worry that CSS won't fulfill my needs, I thought of xsl-fo.

The php-script shall be called from within a browser. The script will contain the instruction to output the data of a certain xml file using the rules of a certain xsl stylesheet (?in combination?) with Formatting Objects.
Thanks a lot for any responses,
Layne
 
There is an open source implementation of XSL-FO called Apache FOP:

There is a PHP PEAR package which implements XSL-FO using Apache FOP but I haven't personally tried it:
Let us know how you get on.

Clive
Runner_1Revised.gif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top