I want to use PHP and \[code\]DomXPath::query\[/code\] to get the parent "form" element of a submit button. The variable \[code\]$dom\[/code\] holds the complete DOM tree and \[code\]$node\[/code\] represents the submit button as a DOM node.\[code\]$query = '??????';$xpath = new \DomXPath( $dom );$parents = $xpath->query( $query, $node );if ( $parents->length ){ $form = $parents->item( 0 );}\[/code\]I tried several queries, but until now I found no solution. I think it would be easy if I had more time to read about that XPath syntax. I hope you can help.