Geo::GDAL  2.4
Geo::GDAL::XML Class Reference

A simple XML parser
More...

Public Member Functions

public method new (scalar string)
 
public method serialize ()
 
public method traverse (coderef subroutine)
 

Detailed Description

A simple XML parser



Definition at line 7124 of file all.dox.

Member Function Documentation

public method Geo::GDAL::XML::new ( scalar  string)

Object method.

Parameters
stringString containing XML.
Returns
A new Geo::GDAL::XML object, which is a reference to an anonymous array.

Code:
click to view

public method Geo::GDAL::XML::serialize ( )

Object method.

Returns
The XML serialized into a string.

Code:
click to view

public method Geo::GDAL::XML::traverse ( coderef  subroutine)

Object method.

Parameters
subroutineCode reference, which will be called for each node in the XML with parameters: node, node_type, node_value. Node type is either Attribute, Comment, Element, Literal, or Text.

Code:
click to view


The documentation for this class was generated from the following file: