Sleepycat::XmlModify.3pm

Langue: en

Version: 2008-10-21 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

XmlModify - A Perl interface to the DbXml XmlModify Class

SYNOPSIS

     use Sleepycat::DbXml;
 
     my $manager = new XmlManager();
     my $mod = $manager->createModify();
 
     $mod->addAppendStep($selectionExpr, $type, $name, $content [, $location]);
     $mod->addInsertAfterStep($selectionExpr, $type, $name, $content);
     $mod->addInsertBeforeStep($selectionExpr, $type, $name, $content);
     $mod->addInsertRemoveStep($selectionExpr);
     $mod->addInsertRenameStep($selectionExpr, $newName);
     $mod->addInsertUpdateStep($selectionExpr, $content);
 
     $mod->execute([$txn,] $toModify, $context, $uc);
 
     $mod->setNewEncoding($newEncoding);
 
 

DESCRIPTION

CONFORMANCE to C++ API

The Perl interface to XMlValue is identical to the C++ API.

Constructor

The constructor for XmlModify can takes the following form:
     my $manager = new XmlManager();
     my $mod = $manager->createModify();
 
 

Methods


$mod->setNewEncoding($newEncoding);


$mod->setNewEncoding($newEncoding);

NOTES

EXAMPLES

SEE ALSO

AUTHOR

Paul Marquess