Page 1 of 1
XSL-FO completion in XSLT?
Posted: Sat Jul 05, 2008 1:40 am
by alexz
EDIT:
How do I make auto-completion for fo when working with xslt?
Thank you!
Re: XSL-FO completion?
Posted: Sat Jul 05, 2008 8:39 am
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
Re: XSL-FO completion in XSLT?
Posted: Sat Jul 05, 2008 5:04 pm
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.
Re: XSL-FO completion in XSLT?
Posted: Mon Jul 07, 2008 8:21 am
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