--%>

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 : Define Livelock Livelock : It is a

    Livelock: It is a situation in which a thread waits to be notified of a condition however, on waking, finds that the other thread has inverted the condition another time. The primary thread is forced to wait again. Whenever this occurs for an indefini

  • Q : Use Polymorphism Use Polymorphism :

    Use Polymorphism: Programs, especially those converted from non-OOP languages like C, sometimes use state where they should use inheritance. For example,

    Q : Use of setjmp and longjmp Use of

    Use of setjmp() and longjmp(): In C/C++, setjmp() saves the contents of the registers at a particular state in the program and longjmp() will restore that state later. In this way, longjmp() “returns” to the state of the program when setjm

  • Q : Main uses of Virtual memory Illustrate

    Illustrate the main uses of Virtual memory?

  • Q : What is Primitive Type Casting

    Primitive Type Casting: C/C++ allows you to cast between totally unrelated types. This can be problematic for model checking. Avoid type casting between unrelated types and in particular primitive types. For example,

    Q : Define Keyword Keyword : They are

    Keyword: They are reserve word containing special meaning of the language and cannot be employed as identifier.

  • Q : What is Class method What is Class

    What is Class method: It is a synonym for the static method.

  • Q : Define Peer Peer : It is a term

    Peer: It is a term employed of the Abstract Windowing Toolkit (AWT) to refer to the underlying classes which give the platform-specific implementation of the component classes.

  • Q : Define Accessor method Accessor method

    Accessor method: A technique specifically designed to offer access to a private attribute of a class. By convention, we name accessors with a get prefix followed by the name of the attribute being accessed. For example, the accessor for an attribute n

  • Q : Do I need to know SGML or HTML before

    Do I need to know SGML or HTML before learn XML?