Searching Ditamap Hierarchy Including Components
Posted: Wed Oct 27, 2021 1:19 am
Hello,
I'd like to search the ditamap hierarchy for all references to a certain phrase, even in xml attribute values. The search doesn't seem to include components that are referenced by topics in the ditamap. I tried two ways:
- Find/Replace in Files with Scope set to Ditamap Hierarchy. This fails because the scope doesn't seem to include any components referenced in topics.
- Opening the ditamap with "Open ditamap in editor with resolved topics", then doing a Find in the editor pane. This fails because I can only find text that is visible in Author mode. I can't find things like attribute values that are only visible in Text mode, and if I switch to Text mode, the topics stop being expanded.
These limitations made it very tedious to trace the source of an error in the DITA Maps Completeness check, because the problem was really inside a component that was used in a topic.
Is there currently some way to search through the *complete* ditamap hierarchy, with all components expanded, for text that occurs within xml attributes?
Thanks!
I'd like to search the ditamap hierarchy for all references to a certain phrase, even in xml attribute values. The search doesn't seem to include components that are referenced by topics in the ditamap. I tried two ways:
- Find/Replace in Files with Scope set to Ditamap Hierarchy. This fails because the scope doesn't seem to include any components referenced in topics.
- Opening the ditamap with "Open ditamap in editor with resolved topics", then doing a Find in the editor pane. This fails because I can only find text that is visible in Author mode. I can't find things like attribute values that are only visible in Text mode, and if I switch to Text mode, the topics stop being expanded.
These limitations made it very tedious to trace the source of an error in the DITA Maps Completeness check, because the problem was really inside a component that was used in a topic.
Is there currently some way to search through the *complete* ditamap hierarchy, with all components expanded, for text that occurs within xml attributes?
Thanks!