XML::Grammar::Screenplay::ToTEI - module that converts the Screenplay XML to TEI (Text Encoding Initiative).
Accepts no arguments so far. May take some time as the grammar is compiled at that point.
Internal - (to settle pod-coverage).
Inherited - (to settle pod-coverage).
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.
'output'
'string'
'xml'
To install XML::Grammar::Fiction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Grammar::Fiction
CPAN shell
perl -MCPAN -e shell install XML::Grammar::Fiction
For more information on module installation, please visit the detailed CPAN module installation guide.