XML::Diff

Description

XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. SYNOPSIS my $diff = XML::Diff->new(); # to generate a diffgram of two XML files, use compare. # $old and $new can be filepaths, XML as a string, # XML::LibXML::Document or XML::LibXML::Element objects. # The diffgram is a XML::LibXML::Document by default. my $diffgram = $diff->compare( -old => $old_xml, -new => $new_xml, ); # To patch an XML document, an patch. $old and $diffgram # follow the same formatting rules as compare. # The resulting XML is a XML::LibXML::Document by default. my $patched = $diff->patch( -old => $old, -diffgram => $diffgram, ); This module provides methods for generating and applying an XML diffgram of two related XML files. The basis of the algorithm is tree-wise comparison using the DOM model as provided by XML::LibXML. The Diffgram is well-formed XML in the XVCS namespance and supports update, insert, delete and move operations. It is meant to be human and machine readable. It uses XPath expressions for locating the nodes to operate on. See the below DIFFGRAM section for the exact syntax. The motivation and alogrithm used by this module is discussed in MOTIVATION below..

Xml - Libxml - Dom - Xml Dom - Xmldiff - Perl Module - Patch - Module - Diff - Perl - Based - Libraries - Programming

Published By:Arne Claassen

License Type:Freeware

Date Added:22 October, 2010

Version:0.04

Price:Free

Downloads:104

Size:17.4 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

XML::Simple::Tree is a tree object extension for XML::Simple data structures.

DateSep 3, 2010

AuthorAaron Dancygier

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.

DateOct 4, 2010

AuthorAaron Straup Cope

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

RDFStore::Parser::SiRPAC is a Perl module that implements a streaming RDF Parser as a direct implementation of XML::Parser::Expat.

DateAug 8, 2010

AuthorAlberto Reggiori

Size481.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Data::Phrasebook::Loader::XML Perl module can abstract your phrases with XML. SYNOPSIS use Data::Phrasebook; my $q = Data::Phrasebook->new( class => Fnerk, loader => XML, file => phrases.

DateOct 11, 2010

AuthorBarbie

Size17.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

EDIReader is a Java package for parsing business documents structured according to EDI (Electronic Data Interchange) standards.

DateOct 12, 2010

AuthorBerryWorks

Size675.8 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Utilities