Catalog Resolver

From BaseX Documentation
Revision as of 11:12, 24 January 2011 by 134.34.18.245 (talk) (stub!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 

Fetching the xhtml1-strict.dtd