How to exclude attribute values from search?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
syed
Posts: 76
Joined: Tue Nov 14, 2017 8:34 pm

How to exclude attribute values from search?

Post by syed »

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: 2850
Joined: Tue May 17, 2005 4:01 pm

Re: How to exclude attribute values from search?

Post by adrian »

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: 76
Joined: Tue Nov 14, 2017 8:34 pm

Re: How to exclude attribute values from search?

Post by syed »

Thanks. That worked.
Post Reply