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

  1. 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.
  2. When stationary is created, the variables and their values are included in the .wxsp file.
  3. When an Automap job (.waj) is created from the stationary, the definitions are included (copied) from the .wxsp.
  4. Using the Automap GUI, you can manually override a variable definition, and that override is included in the .waj only.
  5. When the job runs, the {DATA}/project.cache does not contain variable definitions.

  6. 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).

  1. 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.

  2. 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


:) :)) :( ;) :\ |) X-( B)

Enhancements/Automap job settings need XSL access (last edited 2010-09-09 19:49:20 by MikeHedblom)