XSL-FO completion in XSLT?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
alexz
Posts: 2
Joined: Sat Jul 05, 2008 1:09 am

XSL-FO completion in XSLT?

Post by alexz »

EDIT:

How do I make auto-completion for fo when working with xslt?

Thank you!
Last edited by alexz on Sat Jul 05, 2008 5:02 pm, edited 1 time in total.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: XSL-FO completion?

Post by george »

Hello,

Options->Preferences -- Editor -- Content Completion -- XSL allows you to specify a schema that will be used to provide proposals during XSLT editing. You have a radio group there allowing you to choose between XHTML, Formatting Objects and a schema of your choice. Just select Formatting Objects there.

Best Regards,
George
George Cristian Bina
alexz
Posts: 2
Joined: Sat Jul 05, 2008 1:09 am

Re: XSL-FO completion in XSLT?

Post by alexz »

Thank you for your fast response!

Is it possible to also validate it before the transformation? Because when I run the FOP engine that creates the PDF-file returns some really indistinct error messages.
Radu
Posts: 9438
Joined: Fri Jul 09, 2004 5:18 pm

Re: XSL-FO completion in XSLT?

Post by Radu »

Dear Alex,

You can create a transformation scenario with the XML and XSL files which instead of performing FO processing (using the checkbox in the FO processors tab) should just save the tronsformation result as "output.fo" for example. In the output tab you can configure the name of the saved file and also check the "Open in editor" switch.
After the output FO file is opened, you will be able to use Oxygen to validate it.
To transform it to PDF just open the scenario configuration dialog and apply the builtin "FO to PDF" scenario on it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply