Package DE_EPAGES::Object::API::XML::ObjectDeleteHandler
This module implements a SAX2 handler to delete object type(s) Object, Class, Attribute.
Example |
use DE_EPAGES::Object::API::XML::ObjectDeleteHandler qw( DeleteObjects ); DeleteObjects( 'Objects.xml' ); |
@EXPORT_OK |
Functions
DeleteObjects
Deletes objects that are marked with 'delete=1' in the XML file.
Syntax |
DeleteObjects( $FileName ); DeleteObjects( $FileName, $Path ); |
Example |
DeleteObjects( 'DemoShop.xml', '/Shops/DemoShop' ); |
Input |
|
varsOnErrorString
Returns information about the current position in the XML file.
Syntax |
$Position = $self->varsOnError(); $Position = $self->varsOnError( $Element ); |
Input |
|
Return |
|