A script in the Python language extracts the various output files from DocBook source files. Command line arguments are:
Each DocBook-XML 5.0 source file named on the command line
is read, and all the
with the correct
role attribute are assembled
and written to the corresponding files.