Within the root element, apart from any number of attributes and other elements, there may also be more optional text, comments, processing instructions and whitespace. A more expanded example of an XML document follows, demonstrating some of these extra nodes along with a single rootElement element.">

Root element (original) (raw)

About DBpedia

Each XML document has exactly one single root element. It encloses all the other elements and is, therefore, the sole parent element to all the other elements. ROOT elements are also called document elements. In HTML, the root element is the element. content attribute="att"/> Within the root element, apart from any number of attributes and other elements, there may also be more optional text, comments, processing instructions and whitespace. A more expanded example of an XML document follows, demonstrating some of these extra nodes along with a single rootElement element.

Property Value
dbo:abstract Each XML document has exactly one single root element. It encloses all the other elements and is, therefore, the sole parent element to all the other elements. ROOT elements are also called document elements. In HTML, the root element is the element. The World Wide Web Consortium defines not only the specifications for XML itself, but also the DOM, which is a platform- and language-independent standard object model for representing XML documents. DOM Level 1 defines, for every XML document, an object representation of the document itself and an attribute or property on the document called documentElement. This property provides access to an object of type element which directly represents the root element of the document. content attribute="att"/> There can be other outside of the root element. In particular, the root element may be preceded by a prolog, which itself may consist of an XML declaration, optional comments, processing instructions and whitespace, followed by an optional DOCTYPE declaration and more optional comments, processing instructions and whitespace. After the root element, there may be further optional comments, processing instructions and whitespace within the document. Within the root element, apart from any number of attributes and other elements, there may also be more optional text, comments, processing instructions and whitespace. A more expanded example of an XML document follows, demonstrating some of these extra nodes along with a single rootElement element. ]> attribute="xyz"> (en)
dbo:wikiPageID 1222449 (xsd:integer)
dbo:wikiPageLength 2840 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID 1102698862 (xsd:integer)
dbo:wikiPageWikiLink dbr:Object_(computer_science) dbr:Processing_instruction dbr:Property_(programming) dbr:HTML dbc:XML dbr:Document_Object_Model dbr:World_Wide_Web_Consortium dbr:XML dbr:XML_node
dbp:wikiPageUsesTemplate dbt:Compu-lang-stub
dcterms:subject dbc:XML
rdf:type owl:Thing dbo:Language schema:Language wikidata:Q315 wikidata:Q9143 dbo:ProgrammingLanguage
rdfs:comment Each XML document has exactly one single root element. It encloses all the other elements and is, therefore, the sole parent element to all the other elements. ROOT elements are also called document elements. In HTML, the root element is the element. content attribute="att"/> Within the root element, apart from any number of attributes and other elements, there may also be more optional text, comments, processing instructions and whitespace. A more expanded example of an XML document follows, demonstrating some of these extra nodes along with a single rootElement element. (en)
rdfs:label Root element (en)
owl:sameAs freebase:Root element wikidata:Root element https://global.dbpedia.org/id/4uKLa
prov:wasDerivedFrom wikipedia-en:Root_element?oldid=1102698862&ns=0
foaf:isPrimaryTopicOf wikipedia-en:Root_element
is dbo:wikiPageRedirects of dbr:Document_element
is dbo:wikiPageWikiLink of dbr:HTML_element dbr:Well-formed_element dbr:Document_element dbr:OpenDocument dbr:XBRL dbr:XHTML
is foaf:primaryTopic of wikipedia-en:Root_element