I am able to get the below xpath to work against the below xml with online xpath tools but I am getting an "Expression must evaluate to a node-set." exception in .NET 4.5
xpath:
//*[starts-with(name(.), "childnode")[identification/text()='xyz']]
xml:
<rootnode>
<childnode1234>
<identification>xyz</identification>
</childnode1234>
<childnode3456>
<identification>abc</identification>
</childnode3456>
</rootnode>
The expected result is
<childnode1234>
<identification>xyz</identification>
</childnode1234>
";at the end supposed to mean?string- right now it contains non-escaped double-quotes...