The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Google::Ads::Common::LibXmlParser

DESCRIPTION

Implements an XML parser based on the XML::LibXML.

METHODS

parse

Main entry point to start the parsing of the XML and report to the registered handlers the parsed node in a depth-first traversal fashion as expected from a parser.

Parameters

The XML to parse.

__parse_node

The parsing is done recursively through this method.

Parameters

The node being parsed.

namespace

Retrieves the expanded namespace name of the current parsed node or any given node.

Parameters

Optional a node. If none given then the current parsed is used.

Returns

The registered namespace.

recognized_string

Retrieves a string representation of the current parsed node or any given node.

Parameters

Optional a node. If none given then the current parsed is used.

Returns

The string representation.

Links a SOAP Object with its node.

Parameters

The SOAP object to associate.

The node.

get_node_from_object

Retrieves a node given its associated SOAP Object.

Parameters

The SOAP object.

Returns

The associated node if found.

get_object_from_node

Retrieves a SOAP Object given its associated node.

Parameters

The node.

Returns

The associated SOAP Object.