--%>

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 : Explain AJAX Control Extender Toolkit

    Explain the AJAX Control Extender Toolkit.

  • Q : Describe Method result Method result :

    Method result: The value returned from a method through a return statement. The kind of expression in the return statement should match the return type declared in method header.

  • Q : Perform Exception Handling with

    On occasion, some of Brewbean’s customers mistakenly leave an item out of a basket already checked out, therefore they create a new basket containing the missing items. Though they request that the baskets be combined and hence they are not charged extra shippin

  • Q : What is Cascading if-else statement

    Cascading if-else statement: A form of if-else statement in which all else-part (apart from the last) comprises of a further nested if-else statement. Employed to overcome the trouble of textual drift frequently related with nested if statements.

  • 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 : What is Unique Identifier and how do I

    What is Unique Identifier and how do I determine one?

  • Q : Describe Timers Timers: While time

    Timers: While time values usually cannot be reduced in the target system, their usage can be encapsulated as an abstraction which can be replaced easily (e.g., by a non-deterministic choice) during model checking.

  • Q : State the term LDAP State the term LDAP

    State the term LDAP?

  • Q : Define Aliases Aliases : It is a

    Aliases: It is a multiple references to a single object. Messages might be sent to the object through any of its aliases. The resultant state modifications will be detectable by all.

  • Q : Define Unicode Unicode : It is a 16-bit

    Unicode: It is a 16-bit character set designed to make it simpler to exchange and exhibit information which makes use of a broad range of dissimilar languages and symbols.