The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML::Grammar::Screenplay::ToTEI - module that converts the Screenplay XML to TEI (Text Encoding Initiative).

new()

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

meta()

Internal - (to settle pod-coverage).

xslt_transform_basename()

Inherited - (to settle pod-coverage).

$converter->translate_to_tei({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.