How to search for comments

Submitted by: Liz Fraley Last Updated: 2010-08-09

=Problem=

How do I search for comments?

=Solutions=

Find Dialog
Originally posted by Andy Esslinger

In the "Find Tag/Attribute dialog", put _comment in the "Tag Name(s)" field.

Xpath
Originally posted by Keith Berard

//comment

Find Dialog #2
Originally posted by Keith Berard

If you do a Find/Replace and put "_comment" in the Find Within box, it will restrict to just comment nodes.