Subject: Re: [xsl] Configuration file for Saxon From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 22 Oct 2021 14:10:55 -0000 |
If the Framemaker application encapsulates Saxon so thoroughly that you don't have any access to any Saxon APIs, then that's a bit of a challenge. I can think of a possible hack looking at the Saxon 10 code, but no guarantee it will work with any other version: new Configuration() calls Configuration.init() which calls Version.platform.initialize(this) Version.platform is public static, and is initialized to platform = new net.sf.saxon.java.JavaPlatform(); So you could try loading Saxon before FrameMaker gets a chance to, and statically initialize Version.platform to a subclass of net.sf.saxon.java.Platform that overrides initialize(config) with code that sets properties on the configuration. It really is a horrible hack, but I can't think of anything better. Michael Kay Saxonica > On 22 Oct 2021, at 14:48, rick@xxxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > I am using Saxon EE through another application (Adobe FrameMaker). I want to set expandAttributeDefaults="false" for all of my transforms in FrameMaker. Since I am not specifying calls to Saxon directly, I donbt have the ability to specify a configuration file. Is there a way to have a configuration file read by default when Saxon is called? Thank you very much. > > Rick Quatro > Carmen Publishing Inc. > 585-729-6746 > rick@xxxxxxxxxxxxxxx <mailto:rick@xxxxxxxxxxxxxxx> > http://www.frameexpert.com/store <http://www.frameexpert.com/store> > > > XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list> > EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/293509> (by email <>)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Configuration file for Saxon, rick@xxxxxxxxxxxxxx | Thread | Re: [xsl] Configuration file for Sa, rick@xxxxxxxxxxxxxx |
[xsl] Configuration file for Saxon, rick@xxxxxxxxxxxxxx | Date | Re: [xsl] Configuration file for Sa, rick@xxxxxxxxxxxxxx |
Month |