renderobjects − A tool to render part of an Emdros database as a document
renderobjects
[ options ] stylesheet-filename database-name
renderobjects (--help|--version|-V)
renderobjects is a tool to render a part of an Emdros database as a document. It uses the "RenderObjects" module and/or the "RenderXML" module, described in the Emdros Programmer’s Reference Guide. Please see that document for more information on the stylesheet language and method used.
renderobjects
supports the following command-line switches:
−−help
show help
−V , −−version
show version
−−fm first_monad
first monad to use
−−lm last_monad
last monad to use
−−renderxml
render the XML from the objects; don’t stop after rendering the objects
−o , −−output output-filename
name of output file; if "-" or absent, use stdout
−s , −−stylesheet stylesheet-name
name of stylesheet to use. If --renderxml has been given, this is the stylesheet inside the "renderinfo" part of the stylesheet to use. In this case, the "fetchinfo" stylesheet is given by the "fetch_stylesheet" entry in the "renderinfo" stylesheet. If --renderxml has not been given, this is the stylsheet inside the "fetchinfo" part of the stylesheet to be read. The filename of the stylesheet to be read is specified as the first non-option argument on the command line.
−h , −−host hostname
set db back-end hostname to connect to (default is ’localhost’). Has no effect on SQLite.
−u , −−user user
set database user to connect as (default is ’emdf’). Has no effect on SQLite.
−p , −−password password
set password to use for the database user. Has no effect on SQLite, unless you have an encryption-enabled SQLite, in which case this gets passed as the key.
−b , −−backend backend
set database backend to ‘backend’. Valid values are: For PostgreSQL: "p", "pg", "postgres", and "postgresql". For MySQL: "m", "my", and "mysql". For SQLite 2.X.X: "2", "s", "l", "lt", "sqlite", and "sqlite2". For SQLite 3.X.X: "3", "s3", "lt3", and "sqlite3".
0
Success
1 Wrong usage
2 Connection to backend server could not be established
3 An exception occurred (the type is printed on stderr)
4 Could not open file
Written Ulrik Sandborg-Petersen (ulrikp@emdros.org).