Changes
Jump to navigation
Jump to search
stub!
==Overview==
XML documents often rely on Document Type Definitions (DTD).
While parsing a document with BaseX elements and entities can be checked for validity with respect to that particular DTD.
XHTML for example defines its doctype via the following line:
<pre class="brush:xml">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
</pre>
Fetching the <code>xhtml1-strict.dtd</code>
XML documents often rely on Document Type Definitions (DTD).
While parsing a document with BaseX elements and entities can be checked for validity with respect to that particular DTD.
XHTML for example defines its doctype via the following line:
<pre class="brush:xml">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
</pre>
Fetching the <code>xhtml1-strict.dtd</code>