OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

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

At 11:01 30/08/2002, Giuseppe Greco wrote:
>Hi Bob,
>I have 3 questions about catalogs:
>1. When should I use PUBLIC identifiers
>   respectively SYSTEM identifiers?

If you are always connected to the internet, its OK
(but slower) to get them from the net.

If not, then use public identifiers and a catalog

>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"?

That's it. and if it is present, it gets it from where you specify
in the catalog.

>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.

<grin/>Get the docbook catalogs working first, then add your own 
using the same ideas.

may help.

Regards DaveP

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC