Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

geier(1) [debian man page]

GEIER(1)							   User Commands							  GEIER(1)

NAME
geier - Command line interface to the Geier library SYNOPSIS
geier [OPTION...] [FILE]... DESCRIPTION
Command line interface to the Geier library (libgeier), allowing to validate, apply stylesheets, digitally sign and send Elster XML docu- ments. -d, --dry-run Don't send the Elster XML document to the inland revenue office for further processing. This is, if you want to just check the doc- ument for validity (against the schema files), apply the corresponding stylesheet, etc. supply this option. --dump=FILE Write the result which we have received from the inland revenue office to the file FILE (right after decryption). This might be useful, if you want to keep a copy of the result somewhere and provided the --xsltify command line argument. -e, --encrypt-only Only encrypt the provided Elster XML document. Nothing more. This is mainly for testing purposes, as you will not be able to decrypt the document (since it is public key encrypted). If you transfer the result manually, you will not be able to decrypt the result either, since it is encrypted symetrically and you do not get the needed key back. -s, --softpse=FILE Digitally sign the document using software certificates. The file with the provided name is expected to contain a PKCS#12 certifi- cate container from which the private key as well as the certificate needed for signing will be extracted. If you supply this option, you will be asked to enter the container's PIN code later on. -v, --validate Try to validate the document against the schema files, provided by Germany's inland revenue office, right after parsing. In case the document cannot be validated, complain and abort before any further processing. -x, --xsltify Apply the stylesheet, suitable for this type of Elster XML document, to the document itself in order to generate XHTML output. In case you have chosen to send the document to the inland revenue office, the result we got back will be mangled. If you have pro- vided the --dry-run switch, the stylesheet will be applied against the provided document itself. You most probably want to use this option, if you would like to have a somewhat printable protocol after transmitting your data. -?, --help Give this help list. --usage Give a short usage message. -V, --version Print program version. Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. Please mind that libgeier is currently very much in alpha alike state, therefore please do not expect a tool working perfectly right now. COPYRIGHT
Copyright (C) 2005 Stefan Siegl <stesie@brokenpipe.de>, Germany This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Geier Command Line Interface November 2005 GEIER(1)

Check Out this Related Man Page

XML::LibXML::Schema(3)					User Contributed Perl Documentation				    XML::LibXML::Schema(3)

NAME
XML::LibXML::Schema - XML Schema Validation SYNOPSIS
use XML::LibXML; $doc = XML::LibXML->new->parse_file($url); $xmlschema = XML::LibXML::Schema->new( location => $filename_or_url ); $xmlschema = XML::LibXML::Schema->new( string => $xmlschemastring ); eval { $xmlschema->validate( $doc ); }; DESCRIPTION
The XML::LibXML::Schema class is a tiny frontend to libxml2's XML Schema implementation. Currently it supports only schema parsing and document validation. As of 2.6.32, libxml2 only supports decimal types up to 24 digits (the standard requires at least 18). METHODS
new $xmlschema = XML::LibXML::Schema->new( location => $filename_or_url ); $xmlschema = XML::LibXML::Schema->new( string => $xmlschemastring ); The constructor of XML::LibXML::Schema may get called with either one of two parameters. The parameter tells the class from which source it should generate a validation schema. It is important, that each schema only have a single source. The location parameter allows one to parse a schema from the filesystem or a URL. The string parameter will parse the schema from the given XML string. Note that the constructor will die() if the schema does not meed the constraints of the XML Schema specification. validate eval { $xmlschema->validate( $doc ); }; This function allows one to validate a (parsed) document against the given XML Schema. The argument of this function should be a XML::LibXML::Document object. If this function succeeds, it will return 0, otherwise it will die() and report the errors found. Because of this validate() should be always evaluated. AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas VERSION
2.0110 COPYRIGHT
2001-2007, AxKit.com Ltd. 2002-2006, Christian Glahn. 2006-2009, Petr Pajas. LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2014-02-01 XML::LibXML::Schema(3)
Man Page