Workflow::Config::XML - Parse workflow configurations from XML content


NAME

Workflow::Config::XML - Parse workflow configurations from XML content


SYNOPSIS

 my $parser = Workflow::Config->new( 'xml' );
 my $conf = $parser->parse( 'condition',
                            'my_conditions.xml', 'your_conditions.xml' );


DESCRIPTION

Implementation of configuration parser for XML files/data; requires the XML::Simple manpage to be installed. See the Workflow::Config manpage for parse() description.

METHODS

parse ( $type, @items )

This method parses the configuration provided it is in XML format.

Takes two parameters: a $type indication and an array of of items

Returns a list of config parameters as a array upon success.


SEE ALSO

the XML::Simple manpage

the Workflow::Config manpage


COPYRIGHT

Copyright (c) 2004 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHORS

Chris Winters <chris@cwinters.com>

 Workflow::Config::XML - Parse workflow configurations from XML content