XML::CompareML - A processor for the CompareML markup language
use XML::CompareML::HTML; my $converter = XML::CompareML::HTML->new( 'input_filename' => "my-comparison.xml", 'output_handle' => \*STDOUT, ); $converter->process();
use XML::CompareML::DocBook; my $converter = XML::CompareML::DocBook->new( 'input_filename' => "my-comparison.xml", 'output_handle' => \*STDOUT, ); $converter->process();
The CompareML language is currently undocumented, but one can see an example for a document written it in the
t/files/scm-comparison.xml example in the distribution.
To convert a CompareML document to HTML instantiate an XML::CompareML::HTML object, and pass it the filename as the
input_filename named parameter, and a reference to the IO handle to output the result as the
output_handle named parameter.
To convert a CompareML document to DocBook do the same procedure only using an XML:CompareML::DocBook object.
Shlomi Fish, http://www.shlomifish.org/ .
Please report any bugs or feature requests to
firstname.lastname@example.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML::CompareML. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2005 Shlomi Fish, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as the MIT X11 license.