I need to get every operator_id tags attribute @name in group tag with @title attribute equals some string, an example below fails to do this:
List list = doc.selectNodes("//root//menu//group[@title=" + menuTitle + "]//operator_id//@name");
XML Structure:
<group id="980" title="Переводы" image="" sh_n="1" enable="1" visible="0" image_bg="" type="">
<operator_id id="10000047" name="Перевод физ лицу" image="individual.png" sh_n="1" enable="1" visible="1" />
<operator_id id="10000048" name="Перевод юр лицу" image="organizations.png" sh_n="1" enable="1" visible="1" />
<operator_id id="10000078" name="Перевод внутри банка" image="innerbank.png" sh_n="1" enable="1" visible="1" />
<operator_id id="10000049" name="Налоговый платеж" image="taxes1.png" sh_n="1" enable="1" visible="1" />
</group>
What am I doing wrong?