• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching full:catalog

44   <li><a href="#Catalog">Catalog setup</a></li>
198 <h2><a name="Catalog">Catalog setup</a></h2>
206 anchored in the root catalog (usually <code>/etc/xml/catalog</code> or
212 automatically test for a locally available version in the catalog, starting
213 from the root catalog, and possibly fetching sub-catalog resources until it
214 finds that the catalog has that resource or not. If not the default
216 case to recover from a catalog miss. The key point is that the document
217 instances are totally independent of the availability of a catalog or from
221 figure below tries to express that mechanism:<img src="catalog.gif"
222 alt="Picture describing the catalog "></p>
224 <h3>Usual catalog setup:</h3>
227 the root catalog containing only "delegates" indicating a separate subcatalog
228 dedicated to the project. The goal is to keep the root catalog clean and
229 simplify the maintenance of the catalog by using separate catalogs per
230 project. For example when creating a catalog for the <a
232 the root catalog:</p>
234 catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/&gt;
236 catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/&gt;
238 catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/&gt;</pre>
240 <p>They are all "delegates" meaning that if the catalog system is asked to
241 resolve a reference corresponding to them, it has to lookup a sub catalog.
252 <p>substring, then the catalog lookup should be limited to the specific given
253 lookup catalog. Similarly the second and third entries indicate those
265 &lt;!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
266 "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"&gt;
267 &lt;catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"&gt;
278 &lt;/catalog&gt;</pre>
292 rewritePrefix attributes), the base being the containing sub-catalog URL,
304 (un)installing the local copy of the resources. The catalog files being XML
312 CATALOG=/usr/share/sgml/xhtml1/xmlcatalog
314 # Register it in the super catalog with the appropriate delegates
316 ROOTCATALOG=/etc/xml/catalog
327 "file://$CATALOG" $ROOTCATALOG
330 "file://$CATALOG" $ROOTCATALOG
333 "file://$CATALOG" $ROOTCATALOG
338 make sure the root catalog exists and register the delegate rules.</p>
341 catalog:</p>
347 CATALOG=/usr/share/sgml/xhtml1/xmlcatalog
348 ROOTCATALOG=/etc/xml/catalog