Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

XQuery/Validation using a Catalog

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Motivation You have a library of XML Schemas that you want to associate with namespaces. Method An XML Catalog file contains a list of URIs and the files use to validate them. For example the following is a catalog file that describes how DocBook files should be validated: <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <public publicId="-//OASIS//DTD XML DocBook V4.1.2//EN" uri="/db/grammar/docbook.dtd"/> <uri name="http://www.oasis-open.org/committees/docbook/" uri="/db/grammar/docbook.dtd /"/> </catalog> References http://atomic.exist-db.org/articles/Validating%20XML%20in%20eXist.pdf