Find/Replace in Files to ignore end tags?
Oxygen general issues.
-
- Posts: 17
- Joined: Wed Jan 11, 2017 11:27 pm
Find/Replace in Files to ignore end tags?
Post by EarlMorton »
In the Find/Replace in Files function, when searching for element names, is it possible to tell the function to ignore end tags? I often use this function to find all instances of a particular element in a body of XML documents, so I can see how the elements are used or what data they contain. These searches often return thousands of results, and the fact that it shows both the beginning tag and the ending tag for each one doubles the amount of data that I have to look through. Is there a way to eliminate all the end tags from the search results?
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Find/Replace in Files to ignore end tags?
Hi Earl,
If you go to the Oxygen main menu Find->Find All Elements, this dialog should help you locate all elements with a certain name, attribute or text content.
Or as an alternative search for "<elementName" instead of "elementName" to find only the start tags. Select the "<elementName" and then use our "Ctrl-Shift-F" shortcut to find all matches in the document.
Regards,
Radu
If you go to the Oxygen main menu Find->Find All Elements, this dialog should help you locate all elements with a certain name, attribute or text content.
Or as an alternative search for "<elementName" instead of "elementName" to find only the start tags. Select the "<elementName" and then use our "Ctrl-Shift-F" shortcut to find all matches in the document.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 17
- Joined: Wed Jan 11, 2017 11:27 pm
Re: Find/Replace in Files to ignore end tags?
Post by EarlMorton »
Oh, OK! Starting with the < works. I need to turn off the "Enable XML search options" checkbox, which means my results might include elements that have been commented out, so I'll need to watch for that.
Thanks!
Thanks!
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