An XML document should be well formed, with a root element.
XML tags are case sensitive.
Many times, attributes can be substituted by elements and is in fact a good practice to follow. The thumb rule is that whenever metadata is to be represented, choose attribute instead of element. Examples of metadata include ID, type information, path etc., though it is dependent on the semantics. The majority of the representation is data (or properties) for which element is chosen over attribute.
XML is extensible.
An XML document's format can be extended without causing existing format to crash. For example, if elements are added to an existing XML structure, parsing will still work off the old elements and go ahead with (existing) ...
With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.