← Prev in month ← Prev in thread

DOCBOOK-APPS: I'm a little bit confused...

From
Giuseppe Greco <>
Date
2002-08-30T10:03:03+00:00
ID
Thread
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: 
← Prev in month ← Prev in thread