NAME

XML::CompareML - A processor for the CompareML markup language

VERSION

Version 0.2.9

SYNOPSIS

use XML::CompareML::HTML;

my $converter =
    XML::CompareML::HTML->new(
        'input_filename' => "my-comparison.xml",
        'output_handle' => \*STDOUT,
    );

$converter->process();

Or alternatively:

use XML::CompareML::DocBook;

my $converter =
    XML::CompareML::DocBook->new(
        'input_filename' => "my-comparison.xml",
        'output_handle' => \*STDOUT,
    );

$converter->process();

USAGE

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.

AUTHOR

Shlomi Fish, <shlomif@iglu.org.il>

BUGS

Please report any bugs or feature requests to bug-xml-compareml@rt.cpan.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.

ACKNOWLEDGEMENTS

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.