Suppose I have this (simplified):
You're almost there. Simply use:
//form[@id='myform']//input[@type='submit']
The // shortcut can also be used inside an expression.
//