--%>

Explain the purpose of using XML

Explain the purpose of using XML.

E

Expert

Verified

Here are some reasons for using XML but not in particular order. Not all of such will apply to your own needs, and you may have additional purposes not mentioned now.

• XML can be used to explain and identify information unambiguously and accurately, in a way which computers can be programmed to understand (well, at least control as if they could know).

• XML permits documents that are all the same type to be created consistently and without any structural errors, since it provides a standardised way of explaining, controlling, or allowing/disallowing particular kinds of document structure. Remember that this has absolutely nothing whatever to do along with formatting, appearance, or the definite text content of your documents, simply the structure of them.

• XML gives a robust and durable format for information transmission and storage. Robust because this is based on a proven standard, and can therefore be tested and verified; durable since it uses plain-text file formats that will outlast proprietary binary ones.

• XML gives a common syntax for messaging systems for the exchange of information among applications. Previously, all messaging system had its own format and all were various, which made inter-system messaging unessential messy, expensive and complex. If everyone uses similar syntax this makes writing these systems much faster and extra reliable.

   Related Questions in Programming Languages

  • Q : State term System call executable

    State the term System call executable binary file in a process.

  • Q : Define Deadlock Deadlock : A situation

    Deadlock: A situation which occurs whenever two threads each acquires the lock to one of a set of resources which they both require.

  • Q : Explain Switch statement Switch

    Switch statement: It is a selection statement in which the value of an arithmetic expression {expression!arithmetic} is compared for the match alongside different case labels. When no match is found, the optional default label is chosen For example:

  • Q : Illustrates the parts of an XML

    Illustrates the parts of an XML document are case-sensitive.

  • Q : What is Datagram Datagram : It is a

    Datagram: It is a packet of information passed between the two communicating procedures across a network. Both the Transmission Control Protocol (abbreviated as TCP) and the User Datagram Protocol (abbreviated as UDP) are indirectly comprised in sendi

  • Q : What do you mean by data movement What

    What do you mean by data movement? Describe in brief.

  • Q : Examples for 8 -16 - 32 bit

    Normal 0 false false

  • Q : Is a XML replacing HTML Is a XML

    Is a XML replacing HTML?

  • Q : Explain Object reference Object

    Object reference: It is a reference to an object. Languages other than Java employ terms like pointer or address or. It is significant to keep the difference clear between an object and its reference. The variable like argo

    Q : Limit the Scope of Data Declarations

    Limit the Scope of Data Declarations at the smallest possible level is consistent with the well known principle of data hiding. It stops one module from inadvertently referencing and modifying data values which are only meant to be used by another mod