On Jan 15, 2008, at 18:11, Adrian Cumiskey wrote:

Hi

A thought occurred to me whilst implementing something and I thought I would share it with you.. I don't have time to implement this but maybe somebody else would like to pick up this idea/ suggestion...

Basically, I was wondering if anyone thought it would be a useful feature to be able to provide renderer configuration settings within the fo:declarations section of an FO document?


Splendid idea to post it here. I sure do hope it reaches the right person for the job.

These settings could resemble and override any user configuration settings that may have been set at startup time through the API or user configuration file (e.g. fop.xconf). So the top of your FO document might look something like the following :-

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
   <fo:declarations>
      <fox:strict-validation>true</fox:strict-validation>

Basically a cool idea, but I would not put it in the default extension namespace. Instead, we could reserve a special FOP-config namespace for it. Definitely seems to have a lot of potential to be able to include the configurable settings at the XSLT stage, if desired.

Those using Saxon 8-SA, could then have that config file validated against the fop-configuration.xsd at runtime.


Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to