Polecane strony

Wiadomości

 Ed http://www.oasis-open.org/docbook/xml/4.1.2/doc...

Catalog supportThe XML C parser and toolkit of GnomeCatalog supportMain MenuRelated linksTable of Content: The definition Using catalogs Some examples How to tune catalog usage How to debug catalog processing How to create and maintain catalogs The implementor corner quick review of the API Other resources General overviewWhat is a catalog? Basically it's a lookup mechanism used when an entity a file or a remote resource references another entity. The catalog lookup is inserted between the chwilom the reference is recognized by the software XML parser, stylesheet processing, or even images referenced for inclusion in a rendering and the time where loading that resource is actually started.It is basically used for 3 things:mapping from "logical" names, the public identifiers and a more concrete name usable for download and URI. For example it can associate the logical name "-//OASIS//DTD DocBook XML V4.1.2//EN" of the DocBook 4.1.2 XML DTD with the actual URL where it can be downloaded http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd remapping from a given URL to another mężczyzno, like an HTTP indirection saying that "http://www.oasis-open.org/committes/tr.xsl" should really be looked at "http://www.oasis-open.org/committes/entity/stylesheets/base/tr.xsl" providing a local cache mechanism allowing to load the entities associated to public identifiers or remote resources, this is a really important feature for any significant deployment of XML or SGML since it allows to avoid the aleas and delays associated to fetching remote resources. The definitionsLibxml, as of 2.4.3 implements 2 kind of catalogs:the older SGML catalogs, the official spec is SGML Open Technical Resolution TR9401:1997, chucpy is better understood by reading from James Clark. This is relatively old and not the preferred popularnościach of operation of libxml. is fary more flexible, more recent, uses an XML syntax and should skontaminuję quite better. This is the default option of libxml. Using catalogIn a normal

Czytaj dalej: