The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Splunk::XMLParser - Parse Splunk XML format

DESCRIPTION

This is an utility module to deal with XML format ocassionally returned by Splunk and seemlingly undocumented.

Note that Splunk usually returns Atom XMLs, which have the same content type. They can be distinguished by a DOCTYPE.

parse (string)

Return a perl structure from a XML string.

parsetree (XML::LibXML::Node)

Parse a XML node tree recursively.

SEE ALSO

Net::Splunk, Net::Splunk::API, XML::LibXML

AUTHORS

Lubomir Rintel, <lkundrak@v3.sk>

The code is hosted on GitHub http://github.com/lkundrak/perl-Net-Splunk. Bug fixes and feature enhancements are always welcome.