I don't mean to make multiple posts but I wasn't sure which of these forums this problem belongs to. I will focus on asking about the XPath part here.
I have a problem to understand XPath when it comes to nested statements. For example, if I want to select the driver in a green car on a wet road, when xml tags are nested in the order of <Road><Car><Driver>. I have a hard time to figure out the XPath syntax. For example, when do I have to use Road/Name and when I use Road[@image='string']. There is not enough documentation on this from PMD.
If anyone can help me with this, thanks in advance.