score:0

//select <option> node based on id attribute of it's parent & subid attribute of it's own
var nodetoedit = xml.descendants("option")
                    .firstordefault(x => (string)x.parent.attribute("id") == "123"
                                            &&
                                         (string)x.attribute("subid") == "4"
                                   );

Related Query

More Query from same tag