--%>

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 : 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 : Non linear dynamic model equation to

    Could you please show the steps from non linear dynamic model equation to linear equation?

  • Q : What is Reduce Concurrency Reduce

    Reduce Concurrency: From a model-checking perspective, the searched state space consists of all possible thread-state combinations, which implies that the level of concurrency has the biggest impact on state space size. As a consequence, reducing conc

  • Q : What is Variable Variable : It is the

    Variable: It is the memory block of specific size where value can be stored and modified throughout program execution. Example: int x, float y, float amount, char c;

  • Q : How does XML maintain white-space in

    How does XML maintain white-space in any documents?

  • Q : What do you mean by ActiveX control

    What do you mean by ActiveX control? Describe in brief.

  • Q : What is Class body Class body : It is a

    Class body: It is a body of class definition. The body collects the definitions of a class's members that is, methods, fields and nested classes.

  • Q : Define Propagation Propagation : When

    Propagation: When an exception is thrown in a method, and there is no suitable exception handler within the method, the exception might be propagated to the caller of the method. For a checked exception, the method should include a throws clause in it

  • Q : Explain Declaration and initialization

    Declaration and initialization: It is a statement in which a variable is declared and instantly given its initial value. Three illustrations of declaration and initialization are as follows:     int

  • Q : Define the term Heterogeneous collection

    Define the term Heterogeneous collection: It is a collection of objects with distinct dynamic types