RPC::XML::Parser - A container class for XML::Parser
use RPC::XML::Parser; ... $P = RPC::XML::Parser->new(); $P->parse($message);
The RPC::XML::Parser class encapsulates the parsing process, for turning a
string or an input stream into a RPC::XML::request or RPC::XML::response
object. The XML::Parser class is used internally, with a new instance
created for each call to parse
(detailed below). This allows the
RPC::XML::Parser object to be reusable, even though the XML::Parser
objects are not. The methods are:
The constructor returns undef
upon failure, with the error message available
in the global variable $RPC::XML::ERROR
.
This began as a reference implementation in which clarity of process and readability of the code took precedence over general efficiency. It is now being maintained as production code, but may still have parts that could be written more efficiently.
The XML-RPC standard is Copyright (c) 1998-2001, UserLand Software, Inc. See <http://www.xmlrpc.com> for more information about the XML-RPC specification.
This module is licensed under the terms of the Artistic License that covers Perl. See <http://language.perl.com/misc/Artistic.html> for the license itself.
the RPC::XML manpage, the RPC::XML::Client manpage, the RPC::XML::Server manpage, the XML::Parser manpage
Randy J. Ray <rjray@blackperl.com>