You don't have to declare all of your namespace prefixes on the root element.A namespace prefix can be declared on any element in the document. This is XHTML