Well-formed XML document

Well-formed XML document

A "well-formed" XML document is defined as an XML document that has correct XML syntax. According to W3C, this means:
* XML documents must have a root element
* XML elements must have a closing tag
* XML tags are case sensitive
* XML elements must be properly nested
* XML attribute values must always be quoted

This should not be confused with a valid XML document, which is defined as a "well-formed" XML document which also conforms to the rules of a Document Type Definition (DTD) or an XML Schema (XSD), which W3C supports as an alternate to DTD.

ee also

* XML

External links

* [http://validator.w3.org/ http://validator.w3.org/] The Official W3C Markup Validation Service
* [http://www.w3.org/TR/xml http://www.w3.org/TR/xml] W3C XML specification


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Well-formed xml document — Un document XML bien formé (well formed XML document) est un document XML dont la syntaxe est correcte. Selon le W3C, cela signifie : Les documents XML doivent avoir un élément racine ; Les éléments XML doivent avoir une balise de… …   Wikipédia en Français

  • Well-formed XML document — Un document XML bien formé (well formed XML document) est un document XML dont la syntaxe est correcte. Selon le W3C, cela signifie : Les documents XML doivent avoir un élément racine ; Les éléments XML doivent avoir une balise de… …   Wikipédia en Français

  • Valid XML document — A valid XML document is defined by the W3C as a well formed XML document which also conforms to the rules of a Document Type Definition (DTD) or an XML Schema (XSD), which W3C supports as an alternate to DTD.This term should not be confused with… …   Wikipedia

  • Valid xml document — Un document XML valide (en anglais valid XML document) est, selon le W3C, un document XML bien formé qui se conforme aussi aux règles d un modèle (ou schéma) de documents donné par une DTD ou un XML Schema. Il ne faut pas confondre cette notion… …   Wikipédia en Français

  • Valid XML document — Un document XML valide (en anglais valid XML document) est, selon le W3C, un document XML bien formé qui se conforme aussi aux règles d un modèle (ou schéma) de documents donné par une DTD ou un XML Schema. Il ne faut pas confondre cette notion… …   Wikipédia en Français

  • Well-formed element — In web page design, and generally for all markup languages such as SGML, HTML, and XML, a well formed element is one that is either *opened and subsequently closed, *an empty element, which in that case must be terminated, *properly nested so… …   Wikipedia

  • XML Certification Program — (XML Master) is IT professional certification for XML and related technologies. There are two levels of XML Certifications, XML Master Basic certification and XML Master Professional certification, and more than 16000 examiners have passed those… …   Wikipedia

  • Document XML — Well formed XML document Un document XML bien formé (well formed XML document) est un document XML dont la syntaxe est correcte. Selon le W3C, cela signifie : Les documents XML doivent avoir un élément racine ; Les éléments XML doivent… …   Wikipédia en Français

  • XML Information Set — (XML Infoset) is a W3C specification describing an abstract data model of an XML document in terms of a set of information items . The definitions in the XML Information Set specification are meant to be used in other specifications that need to… …   Wikipedia

  • XML — Infobox file format name = Extensible Markup Language icon = logo = extension = .xml mime = application/xml, text/xml (deprecated) type code = uniform type = public.xml magic = owner = World Wide Web Consortium genre = Markup language container… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”