Home › Forums › DITA and XMetaL Discussion › File Usage Report › Reply To: File Usage Report
Reply to: File Usage Report
October 27, 2010 at 6:52 pmNothing comes built into the product. I believe some CMS systems that we integrate with provide this type of “where used” functionality.
It just so happens that I'm using the same CMS. I'll have to research this further, thx.
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)
The dita.xml.properties file is CSV, so I was able to get a poorly formatted Excel sheet with what I need as a back-up in case the CMS angle doesn't workout. I'm in a bit over my head, so it's good to have a Plan B. Thx.