XML

XML (Extensible Markup Language) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is defined by the W3C's XML 1.0 Specification and by several other related specifications, all of which are free open standards.
History[edit]
XML was developed by the World Wide Web Consortium (W3C) and became a W3C Recommendation on February 10, 1998. It was designed to be a simplified subset of SGML (Standard Generalized Markup Language), which is a system for defining generalized markup languages for documents.
Design Goals[edit]
The design goals for XML are:
- XML shall be straightforwardly usable over the Internet.
- XML shall support a wide variety of applications.
- XML shall be compatible with SGML.
- It shall be easy to write programs that process XML documents.
- The number of optional features in XML is to be kept to the absolute minimum, ideally zero.
- XML documents should be human-legible and reasonably clear.
- The XML design should be prepared quickly.
- The design of XML shall be formal and concise.
- XML documents shall be easy to create.
- Terseness in XML markup is of minimal importance.
Structure[edit]
XML documents are composed of units called entities, which contain either parsed or unparsed data. Parsed data is made up of characters, some of which form character data, and some of which form markup. Markup encodes a description of the document's storage layout and logical structure. XML provides a mechanism to impose constraints on the storage layout and logical structure.
Elements[edit]
Elements are the primary building blocks of XML. They are delimited by tags, with a start tag <element> and an end tag </element>. Elements can contain other elements, text, or a mixture of both.
Attributes[edit]
Attributes provide additional information about elements. They are placed inside the start tag of an element and are usually in name/value pairs.
Prolog[edit]
The prolog of an XML document can contain an XML declaration, which specifies the XML version and the character encoding used in the document.
Applications[edit]
XML is used in many aspects of web development, often to simplify data storage and sharing. Some common applications include:
- RSS feeds
- SOAP (Simple Object Access Protocol)
- AJAX (Asynchronous JavaScript and XML)
- SVG (Scalable Vector Graphics)
- XHTML (Extensible Hypertext Markup Language)
Related Technologies[edit]
- XSLT (Extensible Stylesheet Language Transformations)
- XPath (XML Path Language)
- XQuery (XML Query Language)
- XML Schema (XSD)
- DTD (Document Type Definition)
See Also[edit]
References[edit]
External Links[edit]
Ad. Transform your health with W8MD Weight Loss, Sleep & MedSpa

Tired of being overweight?
Special offer:
Budget GLP-1 weight loss medications
- Semaglutide starting from $29.99/week and up with insurance for visit of $59.99 and up per week self pay.
- Tirzepatide starting from $45.00/week and up (dose dependent) or $69.99/week and up self pay
✔ Same-week appointments, evenings & weekends
Learn more:
- GLP-1 weight loss clinic NYC
- W8MD's NYC medical weight loss
- W8MD Philadelphia GLP-1 shots
- Philadelphia GLP-1 injections
- Affordable GLP-1 shots NYC
|
WikiMD Medical Encyclopedia |
Medical Disclaimer: WikiMD is for informational purposes only and is not a substitute for professional medical advice. Content may be inaccurate or outdated and should not be used for diagnosis or treatment. Always consult your healthcare provider for medical decisions. Verify information with trusted sources such as CDC.gov and NIH.gov. By using this site, you agree that WikiMD is not liable for any outcomes related to its content. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian