AXML_STYLESHEET_HREF and AXML_STYLESHEET_TYPE

These variables are designed for use with AcuXML. Use them when you want to associate an XML style sheet with the XML documents that ACUCOBOL-GT creates. When you set these variables to a non-blank value, ACUCOBOL-GT includes an XML-stylesheet comment in the beginning of the resulting XML files. For instance, the following entry:

AXML_STYLESHEET_TYPE text/css

causes the following comment to be added to the beginning of the XML file:

<?xml-stylesheet type="text/css"?>

If you set both of these variables, as in the following example,

AXML_STYLESHEET_TYPE text/css
AXML_STYLESHEET_HREF mystyle.css

then a comment like the following is added to the file:

<?xml-stylesheet type="text/css" href="mystyle.css"?>

If you do not require specific stylesheet data in the XML file, you can omit these variables.

These variables may be toggled on and off during program execution. If you have set these variables and want to generate a xml file without a xml style sheet association, you can do this by adding these statements before opening the xml file:

SET ENVIRONMENT "AXML_STYLESHEET_TYPE" TO "" 
 SET ENVIRONMENT "AXML_STYLESHEET_HREF" TO "" 
Note: Setting these variables to NULL or SPACE will NOT toggle the variable off.