XML - Extensible HTML (XHTML)

Card Puncher Data Processing

About

Extensible HTML (XHTML) is an XML document:

  • that looks like HTML
  • but is well formed according to XML rules.

See also DOM - HTML vs XML document

History

In 1998 1), the W3C membership decided to stop evolving HTML and instead begin work on an XML-based equivalent, called XHTML. This effort started with a reformulation of HTML4 in XML, known as XHTML 1.0, which added no new features except the new serialization, and which was completed in 2000. After XHTML 1.0, the W3C's focus turned to making it easier for other working groups to extend XHTML, under the banner of XHTML Modularization.

The XHTML syntax is an application of XML.

Mime

When a document is transmitted with an XML MIME type, such as application/xhtml+xml, it is treated as an XML document by Web browsers, to be parsed by an XML processor.





Discover More
DOM - HTML vs XML document

The DOM specification gives the distinction between this two type of document: XML documents (ie XHTML) and HTML documents. HTML elements are rarely nested. In a XML file, the subsection (SECT)...
Domtree
How is the DOM document build from an HTML document ?

This page is about the construction of the DOM document from a HTML document (ie the XML language is xhtml) HTMLAPIHTML The HTML dom document is created: * by an xml library * or by the browser...
HTML - Boolean Attribute

A number of attributes are boolean attributes . The presence of a boolean attribute on an element represents the true value, The absence of the attribute represents the false value. The values...
Card Puncher Data Processing
What is SGML ?

SGML is the standard document that defines at the same time XML and HTML making HTML, XHTML.
Card Puncher Data Processing
What is a CDATA Sections in XML ? (and HTML compliancy)

A cdata section delimits a text as being cdata (character data). It's used mostly to be able to use (ie escape) reserved xml characters that would otherwise be recognized as xml markup. An example...
Card Puncher Data Processing
Xml - Namespace

namespace in XML are used to be able to have the same node name but in different namespace. A simple example would be to consider an XML document that contained references to: a customer and...
Card Puncher Data Processing
Xml - Xpath

XPath is a pattern expression used to select a set of XML nodes. You can select: from node name from attributes from text In the XPath specification, the document model defines seven kinds of...



Share this page:
Follow us:
Task Runner