Penguin
Blame: xmlcatalog(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of xmlcatalog(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 xmlcatalog
2 !!!xmlcatalog
3 NAME
4 SYNOPSIS
5 INTRODUCTION
6 COMMAND LINE OPTIONS
7 SHELL COMMANDS
8 REFERENCES
9 AUTHOR
10 ----
11 !!NAME
12
13
14 xmlcatalog - Command line tool to parse and manipulate XML or SGML catalog files.
15 !!SYNOPSIS
16
17
18 __xmlcatalog__ [[__--shell__ | __--create__ |
19 __--add__ ''type orig replace'' | __--del__
20 ''values'' | __--noout__ | __--verbose__]
21 [[''catalogfile''] [[''entities'']
22 !!INTRODUCTION
23
24
25 xmlcatalog is a command line application allowing users to
26 monitor and manipulate XML and SGML catalogs. It is included
27 in libxml2.
28
29
30 Its functions can be invoked from a single command from the
31 command line, or it can perform multiple functions in
32 interactive mode. It can operate on both XML and SGML
33 files.
34 !!COMMAND LINE OPTIONS
35
36
37 __--shell__ ''filename''
38
39
40 Run a shell allowing interactive queries on catalog file
41 ''filename''.
42
43
44 __--create__ ''filename''
45
46
47 Create a new XML catalog. Outputs to stdout, ignoring
48 ''filename'' unless __--noout__ is used, in which case
49 it creates a new catalog file ''filename''.
50
51
52 __--add__ '''type' 'orig' 'replace'
53 filename''
54
55
56 Add an entry to catalog file ''filename''. ''type''
57 indicates the type of entry. Possible types are 'public',
58 'system', 'rewriteSystem', 'delegatePublic' and
59 'delegateSystem'. '''orig''' is the original reference to
60 be replaced, and '''replace''' is the URI of the
61 replacement entity to be used. The __--add__ option will
62 not overwrite ''filename'', outputing to stdout, unless
63 __--noout__ is used. The __--add__ will always take
64 three parameters even if some of the XML catalog constructs
65 will have only a single argument.
66
67
68 If the __--add__ option is used following the
69 __--sgml__ option, only a single argument, a
70 ''filename'', is used. This is used to add the name of a
71 catalog file to an SGML supercatalog, a file that contains
72 references to other included SGML catalog
73 files.
74
75
76 __--del__ '''values' filename''
77
78
79 Remove entries from the catalog file ''filename''
80 matching '''values'''. The __--del__ option will not
81 overwrite ''filename'', outputing to stdout, unless
82 __--noout__ is used.
83
84
85 __--noout__
86
87
88 Save output to the named file rather than outputing to
89 stdout.
90
91
92 __-v__ or __--verbose__
93
94
95 output debugging information.
96 !!SHELL COMMANDS
97
98
99 Invoking xmlcatalog with the __--shell__ ''filename''
100 option opens a command line shell allowing interactive
101 access to the catalog file identified by ''filename''.
102 Invoking the shell provides a command line prompt after
103 which commands can be entered.
104
105
106 __public__ '''PublicID'''
107
108
109 Execute a public identifier lookup of the catalog entry for
110 '''PublicID'''. The corresponding entry will be output to
111 the command line.
112
113
114 __system__ '''SystemID'''
115
116
117 Execute a public identifier lookup of the catalog entry for
118 '''SystemID'''. The corresponding entry will be output to
119 the command line.
120
121
122 __add__ '''type' 'orig' 'replace'''
123
124
125 Add an entry to the catalog file. ''type'' indicates the
126 type of entry. Possible types are 'public', 'system',
127 'rewriteSystem', 'delegatePublic' and 'delegateSystem'.
128 '''orig''' is the original reference to be replaced, and
129 '''replace''' is the URI of the replacement entity to be
130 used.
131
132
133 __del__ '''values'''
134
135
136 Remove the catalog entry corresponding to
137 '''values'''.
138
139
140 __dump__
141
142
143 Print the current catalog.
144
145
146 __debug__
147
148
149 Print debugging statements showing the steps xmlcatalog is
150 executing.
151
152
153 __quiet__
154
155
156 Stop printing debugging statements.
157
158
159 __exit__
160
161
162 Quit the shell.
163 !!REFERENCES
164
165
166 libxml web page: ''http://www.xmlsoft.org/''
167
168
169 libxml catalog support web page::
170 ''http://www.xmlsoft.org/catalog.html''
171
172
173 James Clark's SGML catalog page::
174 ''http://www.jclark.com/sp/catalog.htm''
175
176
177 OASIS XML catalog specification: :
178 ''http://www.oasis-open.org/committees/entity/spec.html''
179 !!AUTHOR
180
181
182 Copyright 2001
183
184
185 John Fleck
186 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.