| XML-CompareML documentation | Contained in the XML-CompareML distribution. |
XML::CompareML - A processor for the CompareML markup language
Version 0.2.5
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();
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, <shlomif@iglu.org.il>
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.
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.
| XML-CompareML documentation | Contained in the XML-CompareML distribution. |
package XML::CompareML; use strict; use warnings; use vars qw($VERSION); $VERSION = '0.2.6'; 1; # End of XML::CompareML __END__