The STAX service sets a Python variable named STAXJobXMLFile at the beginning of the execution of a STAX job. STAXJobXMLFile contains the fully qualified name of the file containing the XML document (as specified by the FILE option specified on the EXECUTE request).
Note that all the variables that the STAX service sets in Python during job execution are documented in section "STAX Variables" in the STAX User's Guide at http://staf.sourceforge.net/current/STAX/staxug.html#Header_StaxVariables. -------------------------------------------------------------- Sharon Lucas IBM Austin, [email protected] (512) 286-7313 or Tieline 363-7313 From: Eileen Wei <[email protected]> To: "[email protected]" <[email protected]> Date: 11/29/2010 10:15 AM Subject: [staf-users] How to use stax job file name in python script? Say I have a stax job named “test.xml”, and in it I have a <script>…</script> section in which I would like to access the name “test.xml”, what variable should I use? Thanks, Eileen ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
