XML::DifferenceMarkupXML::DifferenceMarkup is a XML diff and merge. | |
Download |
XML::DifferenceMarkup Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Vaclav Barta
- Publisher web site:
- http://search.cpan.org/~vbar/XML-DifferenceMarkup-1.00/lib/XML/DifferenceMarkup.pm
XML::DifferenceMarkup Tags
XML::DifferenceMarkup Description
XML::DifferenceMarkup is a XML diff and merge. XML::DifferenceMarkup is a XML diff and merge.SYNOPSIS use XML::DifferenceMarkup qw(make_diff); $parser = XML::LibXML->new(); $parser->keep_blanks(0); $d1 = $parser->parse_file($fname1); $d2 = $parser->parse_file($fname2); $dom = make_diff($d1, $d2); print $dom->toString(1);This module implements an XML diff producing XML output. Both input and output are DOM documents, as implemented by XML::LibXML.The diff format used by XML::DifferenceMarkup is meant to be human-readable (i.e. simple, as opposed to short) - basically the diff is a subset of the input trees, annotated with instruction element nodes specifying how to convert the source tree to the target by inserting and deleting nodes. To prevent name colisions with input trees, all added elements are in a namespace http://www.locus.cz/diffmark (the diff will fail on input trees which already use that namespace). Requirements: · Perl
XML::DifferenceMarkup Related Software