API – Fetch all DITA Map dependencies

Sharing a code snippet that would help you retrieve all dependencies of a DITAMAP. This includes: DITA Map itselfAssociated TopicsAssets used in Topics like Images In particular, following is the snippet fetching all dependencies List<Node> mapDependents = MapUtilities.getAllDependencies(ditamapNode); mapDependents.forEach(associatedAsset -> { //associatedAsset is object representing DITA-Map/Topics/Images }); Sharing a Servlet that retrieves all dependencies and … Continue reading API – Fetch all DITA Map dependencies