How to exclude attribute values from search?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
syed
Posts: 21
Joined: Tue Nov 14, 2017 8:34 pm

How to exclude attribute values from search?

Post by syed » Tue Jan 29, 2019 2:42 pm

Hi,
See the attached screenshot of how my Search function looks like. I would like to exclude attribute values from the search results. I think deselecting Enable XML search options' field would be enough. But, even after that search results include attribute values. Any idea what would be the fix?
https://imgur.com/a/NwuarUd

adrian
Posts: 2580
Joined: Tue May 17, 2005 4:01 pm

Re: How to exclude attribute values from search?

Post by adrian » Wed Jan 30, 2019 11:39 am

Hi,

You need to check [ x ] Enable XML search options, press the Select all button from the "Search only in" section (so that all XML search options are checked) and clear the box for [ ] Attribute values.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

syed
Posts: 21
Joined: Tue Nov 14, 2017 8:34 pm

Re: How to exclude attribute values from search?

Post by syed » Tue Feb 05, 2019 1:05 pm

Thanks. That worked.

Post Reply