Site icon Hip-Hop Website Design and Development

syntax error in functions.php [closed]

I try to load a html snippet just on some specific sites – this is my code for the functions.php:

function wse_add_snippet_to_header() {
   if (is_page(array(X, X) {
      ?>
      <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dio="http://docs.dionera.com/namespace/DioML">
      <?php
   }
}
add_action('wp_head', 'wse_add_snippet_to_header');

But if I want to save it, I get an error:

syntax error, unexpected '?>'

Can someone give me a hint please?