Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
xmlcatalog(1)
Edit
PageHistory
Diff
Info
LikePages
xmlcatalog !!!xmlcatalog NAME SYNOPSIS INTRODUCTION COMMAND LINE OPTIONS SHELL COMMANDS REFERENCES AUTHOR ---- !!NAME xmlcatalog - Command line tool to parse and manipulate XML or SGML catalog files. !!SYNOPSIS __xmlcatalog__ [[__--shell__ | __--create__ | __--add__ ''type orig replace'' | __--del__ ''values'' | __--noout__ | __--verbose__] [[''catalogfile''] [[''entities''] !!INTRODUCTION xmlcatalog is a command line application allowing users to monitor and manipulate XML and SGML catalogs. It is included in libxml2. Its functions can be invoked from a single command from the command line, or it can perform multiple functions in interactive mode. It can operate on both XML and SGML files. !!COMMAND LINE OPTIONS __--shell__ ''filename'' Run a shell allowing interactive queries on catalog file ''filename''. __--create__ ''filename'' Create a new XML catalog. Outputs to stdout, ignoring ''filename'' unless __--noout__ is used, in which case it creates a new catalog file ''filename''. __--add__ '''type' 'orig' 'replace' filename'' Add an entry to catalog file ''filename''. ''type'' indicates the type of entry. Possible types are 'public', 'system', 'rewriteSystem', 'delegatePublic' and 'delegateSystem'. '''orig''' is the original reference to be replaced, and '''replace''' is the URI of the replacement entity to be used. The __--add__ option will not overwrite ''filename'', outputing to stdout, unless __--noout__ is used. The __--add__ will always take three parameters even if some of the XML catalog constructs will have only a single argument. If the __--add__ option is used following the __--sgml__ option, only a single argument, a ''filename'', is used. This is used to add the name of a catalog file to an SGML supercatalog, a file that contains references to other included SGML catalog files. __--del__ '''values' filename'' Remove entries from the catalog file ''filename'' matching '''values'''. The __--del__ option will not overwrite ''filename'', outputing to stdout, unless __--noout__ is used. __--noout__ Save output to the named file rather than outputing to stdout. __-v__ or __--verbose__ output debugging information. !!SHELL COMMANDS Invoking xmlcatalog with the __--shell__ ''filename'' option opens a command line shell allowing interactive access to the catalog file identified by ''filename''. Invoking the shell provides a command line prompt after which commands can be entered. __public__ '''PublicID''' Execute a public identifier lookup of the catalog entry for '''PublicID'''. The corresponding entry will be output to the command line. __system__ '''SystemID''' Execute a public identifier lookup of the catalog entry for '''SystemID'''. The corresponding entry will be output to the command line. __add__ '''type' 'orig' 'replace''' Add an entry to the catalog file. ''type'' indicates the type of entry. Possible types are 'public', 'system', 'rewriteSystem', 'delegatePublic' and 'delegateSystem'. '''orig''' is the original reference to be replaced, and '''replace''' is the URI of the replacement entity to be used. __del__ '''values''' Remove the catalog entry corresponding to '''values'''. __dump__ Print the current catalog. __debug__ Print debugging statements showing the steps xmlcatalog is executing. __quiet__ Stop printing debugging statements. __exit__ Quit the shell. !!REFERENCES libxml web page: ''http://www.xmlsoft.org/'' libxml catalog support web page:: ''http://www.xmlsoft.org/catalog.html'' James Clark's SGML catalog page:: ''http://www.jclark.com/sp/catalog.htm'' OASIS XML catalog specification: : ''http://www.oasis-open.org/committees/entity/spec.html'' !!AUTHOR Copyright 2001 John Fleck ----
One page links to
xmlcatalog(1)
:
Man1x
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.