Xml multiple elements

3

I am uploading a project to vtex, but when doing the update it has a multiple element error:

  

There are multiple root elements. Line 3, position 6.

All the examples I saw did not serve me, can anyone help me?

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vtex="http://www.vtex.com.br/2009/vtex-common" xmlns:vtex.cmc="http://www.vtex.com.br/2009/vtex-commerce" lang="pt-br"/>
  <head>
    <title>Teste</title>
    <link type="text/css" rel="stylesheet" media="screen" href="css/layout.css" /> <!-- CSS das div's -->
    <meta charset="utf-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <!-- Biblioetca JQuery -->   			
  </head>
  </html>
    
asked by anonymous 10.10.2017 / 16:33

1 answer

0

Your Tag (Line 2) is closed. As it should be the root tag of your html, each tag after it is treated as another tag with the same hierarchical level as it. Hence the message "Multiple ROOT elements".

To fix, change the "/ >" by ">" in order to open it so that the end of the file closes it forming a root element.

[] s

    
02.06.2018 / 17:20