Lubomir Rintel > WWW-Splunk-2.04 > WWW::Splunk::XMLParser

Download:
WWW-Splunk-2.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: WWW-Splunk-2.05

NAME ^

WWW::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, if it's parsable, otherwise return a raw XML::LibXML object

parsetree (XML::LibXML::Node)

Parse a XML node tree recursively.

SEE ALSO ^

WWW::Splunk, WWW::Splunk::API, XML::LibXML

AUTHORS ^

Lubomir Rintel, <lkundrak@v3.sk>

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

syntax highlighting: