I need to know, at runtime, the target XFA Version of the current form. This is the corresponding xfa version to the Adobe Reader Target Version one chooses in the Form Properties dialog.
I notice that what one puts in that "Target Version" drop down,
is reflected in the PI:
originalXFAVersion
http://www.xfa.org/schema/xfa-template/2.5/but I think PIs ar inaccessible in script.