Absent Member.
Absent Member.

[archive] XSL Stylesheet for 7.0 XFD

[Migrated content. Thread originally posted on 26 July 2005]

For those that will use the XML output with sytlesheet format for generating XFD's in 7.0, attached is a sample XFD file and XSL stylesheet. The included XSL stylesheet will work with any 7.0 XFD generated in XML format.

Why would you want to do this? One reason, amongst several, is to dynamically transform XFD's into HTML schema documents using XML standards, which saves time from manually documenting them or using proprietary XFD formatters.

See sections 2.1.6 File Options and XSL Directive of the 7.0 ACUCOBOL-GT User's Guide for information on how to generate XML XFD's and specify a stylesheet XFD directive.

The sample XFD file has a .xml extension added to it so that it can be easily clicked from windows file explorer and the default XML viewing application, typically internet explorer, will open it and automatically apply the acuxfd.xsl transform. You can, of course, create a file type of XFD in windows and associate it with the XML type. This is just for convenience and is not required.

There are also tools out there than can do the XSL transform and then save the HTML.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.