XML attribute and element
difference between xml attribute and element
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Aug 16, 2019, 6:24 AM
Every document must have a one top level element called root element.
XML element contents are part of the basic document contents. that are store information data.
XML elements are represented by a tags.
XML Element Name must be follow this things
Element names must be alphabetic or numeric character contains.
Element name can't have white spaces contains and
name can't start with capital letter, numeric or mixed letter.
If element contents absence(empty) then you can write element following two way to represent valid standard.
XML element can have attributes for identify elements.
XML standard specifies element may have define multiple attributes along with unique attribute name.