This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
I'm a little bit confused...
- From: Giuseppe Greco <giuseppe dot greco at bluewin dot ch>
- To: Bob Stayton <bobs at caldera dot com>,DocBook Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 30 Aug 2002 12:01:18 +0200
- Subject: DOCBOOK-APPS: I'm a little bit confused...
Hi Bob,
I have 3 questions about catalogs:
1. When should I use PUBLIC identifiers
respectively SYSTEM identifiers?
2. When my document starts like this:
<?xml version='1.0'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book>
...
</book>
... what happens if I use a catalog like this?
<!DOCTYPE catalog PUBLIC
"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"
>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group prefer="public" xml:base="/usr/share/sgml/docbook/xml-dtd/">
"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
uri="docbookx.dtd"/>
</group>
</catalog>
Does the XML processor look in the catalog for an entry identified by
"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN", and then, if
that entry doesn't exist, look at "http://www.oasis-open.org
/committees/entity/release/1.0/catalog.dtd"?
3. What the right way to proceed if I want to create my PUBLIC/SYSTEM
identifiers?
I read the chapter 4 "XML catalogs" at "http://www.sagehill.net
/xml/docbookxsl/Catalogs.html", but since I'm a novice, I'm a little
bit confused.
Thanks,
--
Giuseppe Greco
Fermo Posta
6928 Manno
Switzerland
Tel. : +41 76 390 60 32
Email: giuseppe.greco@freesurf.ch