In this <game>
contains <lineup1>
, I would like to collect the <match_id>
only when there is <lineup1>
inside <game>
and the <source>
is soccerway
And this game not contains the details:
Formula I tried to use:
=IMPORTXML("XXXXXXXXXXXXXXX","//match_id[contains(//game,'lineup1') and contains(//source,'soccerway')]")
Which Xpath should I use? In the format I tried to use it returned all <match_id>
without filtering.