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.

0
3 comments

What kind of searches do you want to realize?

0

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

0

IMHO it's easier to write dedicated code to gather/filter elements. You can use ContainerUtil, Processor and the like for less boilerplate code.

0

Please sign in to leave a comment.