Is there a way to search XML content across the entire source?

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Dave Gehman
Posts: 575
Joined: Sat Sep 23, 2017 9:05 pm

Is there a way to search XML content across the entire source?

Unread post by Dave Gehman »

I thought I saw an answer to this earlier, but can't find it*...

Write's search-and-replace of the WYSIWYG content of a project's source is excellent. Is there a way to search the XML? We're trying to root out some issues with tags CSS and Styleclass.
____
* I seem to remember something like, open all the files in Notepad++, then use Notepad++'s "Find... in All Opened Documents"
User avatar
Martin Wynne
Posts: 2656
Joined: Mon May 12, 2003 3:21 pm
Location: West of the Severn, UK

Re: Is there a way to search XML content across the entire source?

Unread post by Martin Wynne »

Hi Dave,

Use Notepad++ (free, https://notepad-plus-plus.org ) which has a Search > Find in Files... function. No need to open any of the files.

Set it to search all XML files in the project Topics folder.

Click on the search results to open the file in Notepad++.

Don't have the project open in H&M.

cheers,

Martin.
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Is there a way to search XML content across the entire source?

Unread post by Tim Green »

Hi Dave,

Further to Martin's comment: Your project needs to be saved in the uncompressed HMXP format to do this. We strongly recommend using this format for any ongoing work anyway. It is much more robust against Windows crashes and other errors, and it is required for multi-user editing, version control, translation with external tools and any kind of external editing like this.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Dave Gehman
Posts: 575
Joined: Sat Sep 23, 2017 9:05 pm

Re: Is there a way to search XML content across the entire source?

Unread post by Dave Gehman »

Thanks, Martin. It's likely I would have missed the easier, non-opening option that you pointed out.

Tim, yes, the project is an HMXP.
Post Reply