XHTML
XHTML is a markup language based on XML and is the XML serialization of HTML. It is commonly used for content files in e-book formats such as EPUB.
Core Facts
Timeline (last 90 days)
When handling XHTML files, because of the default namespace xmlns="http://www.w3.org/1999/xhtml", XPath queries such as //p return empty results, and a namespace mapping must be provided explicitly (for example namespaces={'xhtml': 'http://www.w3.org/1999/xhtml'} and query //xhtml:p).
An EPUB is essentially a ZIP archive filled with XHTML files
All Facts (2)
An EPUB is essentially a ZIP archive filled with XHTML files
65%UnverifiedWhen handling XHTML files, because of the default namespace xmlns="http://www.w3.org/1999/xhtml", XPath queries such as //p return empty results, and a namespace mapping must be provided explicitly (for example namespaces={'xhtml': 'http://www.w3.org/1999/xhtml'} and query //xhtml:p).
50%