Btw, it is not common to use the `\` in idiomatic Ruby and this was a bit hard to read for me, you can use nested if.


```
if build_action = @doc.root.elements['BuildAction']
  if build_action_entries = build_action.elements['BuildActionEntries']
    # ...
  end
end