This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: How things point to things?
- From: Norman Walsh <ndw at nwalsh dot com>
- To: ttg at charter dot net
- Cc: DocBooklist <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 09 Jan 2002 08:02:31 -0500
- Subject: DOCBOOK-APPS: Re: How things point to things?
- References: <D8ZWTO1YGBSNLLF21MGJE96UR31HCEB.3c3bc413@cm120572-a>
/ ttg@charter.net was heard to say:
| If I use the declaration:
| http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd
By declaration, I assume you mean,
<!DOCTYPE book SYSTEM "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
at the start of your document. In which case, I strongly recommend
<!DOCTYPE book SYSTEM "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
instead (4.1.2 is the current XML version).
| to point to the DTD, how does the parser find the
| actual DTD code?
Short answer: by following the URI reference.
Long answer:
The parser can find it by any means it wants. In particular, it can
ask an entity resolver, which might be based on XML Catalogs[1], to
return the DTD code. That resolver might return a local resource or it
might dereference the URI.
Be seeing you,
norm
[1] http://www.oasis-open.org/committees/entity/spec.html
--
Norman Walsh <ndw@nwalsh.com> | Internet connection, $19.95 a
http://www.oasis-open.org/docbook/ | month. Computer, $799.95. Modem,
Chair, DocBook Technical Committee | $149.95. Telephone line, $24.95 a
| month. Software, free. USENET
| transmission, hundreds if not
| thousands of dollars. Thinking
| before posting, priceless.
| Somethings in life you can't buy.
| For everything else, there's
| MasterCard.--Graham Reed, in the
| Scary Devil Monastery