List of images referenced in a DITA map
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 114
- Joined: Wed Mar 17, 2010 1:04 pm
List of images referenced in a DITA map
I've just migrated a large manual to DITA and i believe that my images directory now contains quite a few images that are no longer used. I would like to clean this up, but it seems very cumbersome to search for the name of every image file.
What I would like to have is an alphabetically sorted list of href attributes in image elements. This would be useful for translation projects as well.
Is there a way to do this in oXygen? Maybe the result list of "Find in files" could be a starting point. On the other hand, maybe it's possible to include this information in the Metrics report.
Thanks for any suggestions
Susanne
What I would like to have is an alphabetically sorted list of href attributes in image elements. This would be useful for translation projects as well.
Is there a way to do this in oXygen? Maybe the result list of "Find in files" could be a starting point. On the other hand, maybe it's possible to include this information in the Metrics report.
Thanks for any suggestions
Susanne
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: List of images referenced in a DITA map
Post by sorin_ristache »
Hello,
I suggest the following 2 steps:
Regards,
Sorin
I suggest the following 2 steps:
- Run the transformation DITA Map XHTML or DITA Map WebHelp on the DITA map.
- Run Diff Directories tool to find the image files that are present in the images sub-directory of the XML source directory but absent in the images sub-directory of the XHTML output directory.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: List of images referenced in a DITA map
Post by sorin_ristache »
Hello,
Other option: you can find a list of all the image files that are used in the transformed DITA map in the file image.list from the temporary directory of the transformation. That is set the clean.temp parameter to no in the DITA Map XHTML transformation, run the DITA transformation and after it is finished look in the file [DITA-map-directory]/temp/xhtml/image.list.
Regards,
Sorin
Other option: you can find a list of all the image files that are used in the transformed DITA map in the file image.list from the temporary directory of the transformation. That is set the clean.temp parameter to no in the DITA Map XHTML transformation, run the DITA transformation and after it is finished look in the file [DITA-map-directory]/temp/xhtml/image.list.
Regards,
Sorin
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service