ePages 6.11.0 - DE_EPAGES/Object/API/XML/AttributeDeleteHandler.pm

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' );

Package DE_EPAGES::Object::API::XML::AttributeDeleteHandler

@EXPORT_OK
DeleteAttributes

Functions

DeleteAttributes

DeleteAttributes

Deletes objects that are marked with 'delete=1' in the XML file.

Syntax
DeleteAttributes( $FileName );
DeleteAttributes( $FileName, $Path );
Example
DeleteAttributes( 'Translation.System.en.xml', '/' );
Input
$FileName (string)
XML file name
$Path (string)
(optional) path to parent object