Best way to search in DOM model?
Hi,
I'm sure that since there are those nice conditions and builders to match XML / DOM / PSI Tree elements, there shall be utility class utilizing them.
Which class would it be? I just can not find it.
Please sign in to leave a comment.
What kind of searches do you want to realize?
Like: find me all ( not necessarily direct ) silbings of certain element having certain property value
I would like to use XmlAttributeValuePattern ( or relate class ) to get all matching nodes from tree
IMHO it's easier to write dedicated code to gather/filter elements. You can use ContainerUtil, Processor and the like for less boilerplate code.