Automap job settings need XSL access
Applies to Automap 2010.2
Summary
In Automap there needs to be a way to access job (.waj) settings -- variables!-- programmatically with XSL.
Detailed Description
When a project is created with ePub Pro (.wep), it scans for Framemaker variables, puts them in {DATA}/project.cache and adds them to the .wep project file.
- You can manually update the definitions in both locations from the ePublisher Pro GUI.
- When stationary is created, the variables and their values are included in the .wxsp file.
- When an Automap job (.waj) is created from the stationary, the definitions are included (copied) from the .wxsp.
- Using the Automap GUI, you can manually override a variable definition, and that override is included in the .waj only.
When the job runs, the {DATA}/project.cache does not contain variable definitions.
- There is no way to access the job file (.waj) with XSL (to retrieve a variable); rather, you can only locate the stationary (.wxsp), which has an out-of-date value.
Possible solutions
I need access to the variable's value in XSL, either from the project.cache or from the Automap job (.waj).
I have code that already works with the project.cache (see FM Variables with XSLT). If Automap could update the cache, my problem would be solved.
Better would be to give me a function to access the Automap job (.waj), something like $GlobalProject (which doesn't work because it returns the stationary file [.wxsp] and not the job file [.waj].
The best solution would be for wwprojext:GetFormatSetting() to return the value from the current job, and if no job, from the current project