Search / Replace variables and conditional text tags
Moderators: Alexander Halser, Tim Green
Search / Replace variables and conditional text tags
It would be great if search & replace variables/conditional text were possible I have got hundreds of entries already.
- Kooswillem
- Posts: 54
- Joined: Wed May 03, 2006 1:48 pm
- Contact:
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
- Kooswillem
- Posts: 54
- Joined: Wed May 03, 2006 1:48 pm
- Contact:
Search for Conditional Tags
I could do without the 'replace' conditional tags, if I could just get the 'search' functionality. Doing a manual replace/edit is easy enough, but I have to visually scan all my topics for occurrences of the tags, which is a major pain and has room for error (and hurts my eyes).
How is everyone else getting around this problem? I assume it's by searching the XML source, but that method only does one topic at a time, and I have hundreds of topics.
I'm the person responsible for adding to the wish list a request to allow text variable names to be searched, which was implemented a few versions ago, and that I use daily. I just love this product and the people who work on it for listening to their customers.
Someone please post a better work-around for searching for conditional tags.
Thanks in advance,
-Rich
How is everyone else getting around this problem? I assume it's by searching the XML source, but that method only does one topic at a time, and I have hundreds of topics.
I'm the person responsible for adding to the wish list a request to allow text variable names to be searched, which was implemented a few versions ago, and that I use daily. I just love this product and the people who work on it for listening to their customers.
Someone please post a better work-around for searching for conditional tags.
Thanks in advance,
-Rich
- Tim Green
- Site Admin
- Posts: 23183
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Rich,
Search and Replace Tags is high on the Wish List. You can actually do a global search and replace already by exporting your project to XML first. To do this compile to XML with File > Compile > XML, selecting the option to export all topics to a single file. Then open the main XML file in a text editor and do the search and replace operations. After that you can import back to your project with File > Import > XML, selecting the option to replace existing topics. You can preview the XML code you need to replace in Help & Manual by selecting the XML Source Code tab in any topic. (Boilerplate text that you have already seen in another thread, I know... )
Search and Replace Tags is high on the Wish List. You can actually do a global search and replace already by exporting your project to XML first. To do this compile to XML with File > Compile > XML, selecting the option to export all topics to a single file. Then open the main XML file in a text editor and do the search and replace operations. After that you can import back to your project with File > Import > XML, selecting the option to replace existing topics. You can preview the XML code you need to replace in Help & Manual by selecting the XML Source Code tab in any topic. (Boilerplate text that you have already seen in another thread, I know... )
conditional tag search
Thanks for the response. What you said about using the XML would be true if I wanted to 'replace' the tags, but I just want to 'find' them without doing a replace, because I need to modify the text before, between and after the conditional tags. And the changes are different in each place so I can't do it globally in the XML file and re-import it.
And, if I try to use the full XML output file to search, it becomes near impossible to determine which topic the tag was found in.
I'm glad the conditional tag search is high on the wish list as you stated. please get this feature in there ASAP.
And, if I try to use the full XML output file to search, it becomes near impossible to determine which topic the tag was found in.
I'm glad the conditional tag search is high on the wish list as you stated. please get this feature in there ASAP.