Searching Ditamap Hierarchy Including Components

jmorales
Posts: 86
Joined: Tue Oct 30, 2018 9:47 pm

Searching Ditamap Hierarchy Including Components

Post by jmorales » 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!

Radu
Posts: 7697
Joined: Fri Jul 09, 2004 5:18 pm

Re: Searching Ditamap Hierarchy Including Components

Post by Radu » Wed Oct 27, 2021 11:00 am

Hi,

This seems like a similar request with the one from a previous post you had:
post62921.html#p55632

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

jmorales
Posts: 86
Joined: Tue Oct 30, 2018 9:47 pm

Re: Searching Ditamap Hierarchy Including Components

Post by jmorales » Wed Oct 27, 2021 7:55 pm

Thanks, Radu. I had forgotten about that solution. It makes perfect sense. Sorry for the duplication!

Post Reply