NAME

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

METHODS

xslt_transform_basename()

Inherited - (to settle pod-coverage).

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.