⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlcatalog.1

📁 基于s3c2410芯片的数据采集系统 目标环境:S3C2410芯片、经裁剪后的linux2.6内核、sqlite数据库、cgi库 项目描述:节点端采集数据
💻 1
字号:
.\" ** You probably do not want to edit this file directly **.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1)..\" Instead of manually editing it, you probably should edit the DocBook XML.\" source for it and then use the DocBook XSL Stylesheets to regenerate it..TH "XMLCATALOG" "1" "$Date: 2006/08/21 08:34:11 $" "libxml2" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"xmlcatalog \- Command line tool to parse and manipulate XML or SGML catalog files..SH "SYNOPSIS".HP 11\fBxmlcatalog\fR [\fB\-\-sgml\fR \fB\-\-shell\fR \fB\-\-create\fR \fB\-\-del\ \fR\fB\fIVALUE(S)\fR\fR [\ \fB\-\-add\ \fR\fB\fITYPE\fR\fR\fB\ \fR\fB\fIORIG\fR\fR\fB\ \fR\fB\fIREPLACE\fR\fR\fB\ \fR\ \fB\-\-add\ \fR\fB\fIFILENAME\fR\fR] \fB\-\-noout\fR \fB\-\-no\-super\-update\fR [\fB\-v\fR\ \fB\-\-verbose\fR]] {\fICATALOGFILE\fR} {\fIENTITIES\fR...}.SH "DESCRIPTION".PP\fBxmlcatalog\fRis a command line application allowing users to monitor and manipulateXMLandSGMLcatalogs. It is included in\fBlibxml\fR(3)..PPIts 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 bothXMLandSGMLfiles..SH "OPTIONS".PP\fBxmlcatalog\fRaccepts the following options (in alphabetical order):.TP\fB\-\-add \fR\fB\fITYPE\fR\fR\fB \fR\fB\fIORIG\fR\fR\fB \fR\fB\fIREPLACE\fR\fR\fB \fRAdd an entry to\fICATALOGFILE\fR.\fITYPE\fRindicates the type of entry. Possible types are:\fIpublic\fR, \fIsystem\fR, \fIrewriteSystem\fR, \fIrewriteURI\fR, \fIdelegatePublic\fR, \fIdelegateSystem\fR, \fInextCatalog\fR.\fIORIG\fRis the original reference to be replaced, and\fIREPLACE\fRis theURIof the replacement entity to be used. The\fB\-\-add\fRoption will not overwrite\fICATALOGFILE\fR, outputting to\fIstdout\fR, unless\fB\-\-noout\fRis used. The\fB\-\-add\fRwill always take three parameters even if some of theXMLcatalog constructs will have only a single argument..TP\fB\-\-add \fR\fB\fIFILENAME\fR\fRIf the\fB\-\-add\fRoption is used following the\fB\-\-sgml\fRoption, only a single argument, a\fIFILENAME\fR, is used. This is used to add the name of a catalog file to anSGMLsupercatalog, a file that contains references to other includedSGMLcatalog files..TP\fB\-\-create\fRCreate a newXMLcatalog. Outputs to\fIstdout\fR, ignoring\fIfilename\fRunless\fB\-\-noout\fRis used, in which case it creates a new catalog file\fIfilename\fR..TP\fB\-\-del \fR\fB\fIVALUE(S)\fR\fRRemove entries from\fICATALOGFILE\fRmatching\fIVALUE(S)\fR. The\fB\-\-del\fRoption will not overwrite\fICATALOGFILE\fR, outputting to\fIstdout\fR, unless\fB\-\-noout\fRis used..TP\fB\-\-noout\fRSave output to the named file rather than outputting to\fIstdout\fR..TP\fB\-\-no\-super\-update\fRDo not update theSGMLsuper catalog..TP\fB\-\-shell\fRRun a shell allowing interactive queries on catalog file\fICATALOGFILE\fR. For the set of available commands seethe section called \(lqSHELL COMMANDS\(rq..TP\fB\-\-sgml\fRUsesSGMLsuper catalogs for\fB\-\-add\fRand\fB\-\-del\fRoptions..TP\fB\-v\fR, \fB\-\-verbose\fROutput debugging information..SH "SHELL COMMANDS".PPInvoking\fBxmlcatalog\fRwith the\fB\-\-shell \fR\fB\fICATALOGFILE\fR\fRoption opens a command line shell allowing interactive access to the catalog file identified by\fICATALOGFILE\fR. Invoking the shell provides a command line prompt after which the following commands (described in alphabetical order) can be entered..TP\fBadd \fR\fB\fITYPE\fR\fR\fB \fR\fB\fIORIG\fR\fR\fB \fR\fB\fIREPLACE\fR\fR\fB \fRAdd an entry to the catalog file.\fITYPE\fRindicates the type of entry. Possible types are:\fIpublic\fR, \fIsystem\fR, \fIrewriteSystem\fR, \fIrewriteURI\fR, \fIdelegatePublic\fR, \fIdelegateSystem\fR, \fInextCatalog\fR.\fIORIG\fRis the original reference to be replaced, and\fIREPLACE\fRis theURIof the replacement entity to be used. The\fB\-\-add\fRoption will not overwrite\fICATALOGFILE\fR, outputting to\fIstdout\fR, unless\fB\-\-noout\fRis used. The\fB\-\-add\fRwill always take three parameters even if some of theXMLcatalog constructs will have only a single argument..TP\fBdebug\fRPrint debugging statements showing the steps\fBxmlcatalog\fRis executing..TP\fBdel \fR\fB\fIVALUE(S)\fR\fRRemove the catalog entry corresponding to\fIVALUE(S)\fR..TP\fBdump\fRPrint the current catalog..TP\fBexit\fRQuit the shell..TP\fBpublic \fR\fB\fIPUBLIC\-ID\fR\fRExecute a Formal Public Identifier look\-up of the catalog entry for\fIPUBLIC\-ID\fR. The corresponding entry will be output to the command line..TP\fBquiet\fRStop printing debugging statements..TP\fBsystem \fR\fB\fISYSTEM\-ID\fR\fRExecute a Formal Public Identifier look\-up of the catalog entry for\fISYSTEM\-ID\fR. The corresponding entry will be output to the command line..SH "ENVIRONMENT".TP\fBXML_CATALOG_FILES\fRXMLcatalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting the\fBXML_CATALOG_FILES\fRenvironment variable to a list of catalogs. An empty one should deactivate loading the default\fI/etc/xml/catalog\fRcatalog..SH "DIAGNOSTICS".PP\fBxmlcatalog\fRreturn codes provide information that can be used when calling it from scripts..TP\fB0\fRNo error.TP\fB1\fRFailed to remove an entry from the catalog.TP\fB2\fRFailed to save to the catalog, check file permissions.TP\fB3\fRFailed to add an entry to the catalog.TP\fB4\fRFailed to look up an entry in the catalog.SH "SEE ALSO".PP\fBlibxml\fR(3).PPMore information can be found at.TP 3\(bu\fBlibxml\fR(3)web page\fI\%http://www.xmlsoft.org/\fR.TP\(bu\fBlibxml\fR(3)catalog support web page at\fI\%http://www.xmlsoft.org/catalog.html\fR.TP\(buJames Clark'sSGMLcatalog page\fI\%http://www.jclark.com/sp/catalog.htm\fR.TP\(buOASISXMLcatalog specification\fI\%http://www.oasis\-open.org/committees/entity/spec.html\fR.SH "AUTHOR"John Fleck <jfleck@inkstain.net>. 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -