Home Forums DITA and XMetaL Discussion File Usage Report Reply To: File Usage Report


Reply to: File Usage Report

If you build a DITA map, the DITA-OT generates a dita.xml.properties file in its temporary directory. This XML file contains lists of referenced files in various categories (topics included in maps, topics referenced by conref, referenced image files, etc.)

The file is generated by the debug-filter target in the Ant build files. It would not be too hard to create an Ant script that invoked this target and used the results to populate a second directory with only referenced files.

Craig Sandvik
Sybase (where our CMS does this kind of thing for us)