On 02/14/2011 06:33 PM, Roy MacLean wrote:
> I added a <property> to my custom .xxe file, to pick up a custom XSL
> file (as described in the Configuration guide).

Let's suppose your custom .xxe file contains a customization of the
stock DITA *bookmap* configuration.



> 
> Initially this was at the end of the file.
> 
> <property name="dita.toPS.transform" url="true">xsl/custom2fo.xsl</property>
> 
> This worked ok. The shift-About dialog showed the parameter setting.
> 
>  
> 
> However, I then moved the <property> element to the start of the file,
> before the <detect>, and it stopped working.
> 
> That is, in the Shift-About dialog, the parameter had disappeared.
> 
>  
> 
> Moving the <property> element back to the end of the file did not make
> it work again – or indeed anything else that I tried (such as renaming
> the .xxe file).
> 
>  
> 
> I’m confused (not unusual) – any ideas what I’m doing wrong. The xsl
> file is fine, as I’ve used it with standalone ditac.
> 
>  

The order of the <property> configuration element relatively to other
configuration elements such as <detect> is not significant.

My guess is that when you select "Help|About" (while pressing Shift) and
you see a "dita.toPS.transform" system property, it's because you have
opened a DITA bookmap in XXE before doing that.

And when when you select "Help|About" (while pressing Shift) and you
don't see a "dita.toPS.transform" system property, it's because you
didn't open a DITA bookmap in XXE before doing that.

In a nutshell, the <property> configuration element adds a system
property to the Java runtime only after the configuration file
containing <property> has been actually associated to a document opened
in XXE.




---
PS: It's also possible to specify <property> configuration elements in
the customize.xxe configuration file (if you have one).

customize.xxe contains settings which are not necessarily related to a
specific document type. See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/bindings_generic.html




 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to