Posted: 2020-02-24 17:14 |
How can you call or execute a xsl document from a php script? I would like to create an automatic process to produce pdf documents, but can't work out how to call an xsl file from php, as xsl files do not seam to have a API link listed. Thanks Brian |
Posted: Wed, 26.02.2020 - 10:12 |
Hi Brian, I'm a little unsure as this is broadly a development query rather than being Workbooks specific, however I have found a resource online in which I believe the answer may lie: https://www.w3schools.com/php/func_simplexml_load_file.asp I believe you would want to upload the XSL file onto an external server, calling on the URL within your PHP. This does not really fit into the realms of Workbooks Support, so please do proceed with a degree of scepticism when heeding this advice. Best Regards,
Gavin Cooke
|
Posted: Fri, 06.03.2020 - 12:00 |
Hi Brian, One of our consultants kindly provided this example that you can work with: https://github.com/workbooks/client_lib/blob/master/php/pdf_example.php Hopefully this is of some use.
Workbooks Support |