... >> Computer Science >> Web Development >> Xml
Definition: (Extensible Markup Language) a language similar to HTML, but designed for transmitting complex data structures of any type, not just web pages. XML is a subset of SGML adopted as a standard by the W3C in 1998. XML is designed to be easier to use than SGML while providing richer features and better implementation of LOGICAL DESIGN than HTML. In an XML document, the beginning and end of elements of the document are marked with tags, such as <from> and </from> to mark the beginning and end of the part of a memo that indicates who the memo is from. Note that the notation for tags follows the same format as HTML. However, XML does not define a set of tags as does HTML. Instead, it is extensible because different users can extend the language definition with their own set of tags. When an XML document uses these tags, a document type definition (DTD) is needed to define the elements. The DTD may be included in the XML document itself, or it may be in a separate document that can be used by all documents in the same document class. Below is an example of an XML document that we could use to store data about people we might want to recruit for computer jobs in our company. In this example, the document type definition (DTD) is included at the front of the document. This example creates a document type called RECRUITLIST, which consists of elements called RECRUITS. Because the DTD contains a plus sign after the declaration of RECRUIT, a document can have one or more recruits. Each RECRUIT can consist of four elements: NAME, ADDRESS, DEGREE, and ACCOMPLISHMENT. Each recruit must have exactly one NAME and one ADDRESS. The asterisk after DEGREE means that a recruit can have zero, one, or more degrees. The element NAME consists of three elements: FIRSTNAME, LASTNAME, and NICKNAME. The question mark after the definition of NICKNAME means that a name may contain zero or one nickname.
Source: Downing, Douglas, et al. Dictionary of Computer and Internet Terms. 10th ed. New York, 2009. Print.