NAME

XML::Grammar::Fiction::ToDocBook - module that converts the Fiction-XML to DocBook 5.

VERSION

Version 0.0.1

new()

Accepts no arguments so far. May take some time as the grammar is compiled at that point.

meta()

Internal - (to settle pod-coverage.).

$converter->translate_to_docbook({source => {file => $filename}, output => "string" })

Does the actual conversion. $filename is the filename to translate (currently the only available source).

The 'output' key specifies the return value. A value of 'string' returns the XML as a string, and a value of 'xml' returns the XML as an XML::LibXML DOM object.

AUTHOR

Shlomi Fish, http://www.shlomifish.org/.

BUGS

Please report any bugs or feature requests to bug-xml-grammar-fiction at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-Grammar-Fiction. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2007 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT X11.