Commits

Anonymous committed 5500585

More Screenplay-XML depracation. Also removed the DTD stuff.

And r3939!

  • Participants
  • Parent commits 8e7839f

Comments (0)

Files changed (2)

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Fiction/FromProto.pm

 =head1 NAME
 
 XML::Grammar::Fiction::FromProto - module that converts well-formed
-text representing a screenplay to an XML format.
+text representing prose to an XML format.
 
 =head1 VERSION
 
 
 =head2 $self->convert({ source => { file => $path_to_file } })
 
-Converts the file $path_to_file to XML and returns it.
+Converts the file $path_to_file to XML and returns it. Throws an exception
+on failure.
 
 =cut
 

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/Fiction/ToDocBook.pm

 
 
 has '_data_dir' => (isa => 'Str', is => 'rw');
-has '_dtd' => (isa => 'XML::LibXML::Dtd', is => 'rw');
 has '_xml_parser' => (isa => "XML::LibXML", is => 'rw');
 has '_stylesheet' => (isa => "XML::LibXSLT::StylesheetWrapper", is => 'rw');
 
 =head1 NAME
 
-XML::Grammar::Fiction::ToDocBook - module that converts the Screenplay
-XML to DocBook.
+XML::Grammar::Fiction::ToDocBook - module that converts the Fiction-XML to 
+DocBook 5.
 
 =head1 VERSION
 
-Version 0.0600
+Version 0.0.1
 
 =cut
 
-our $VERSION = '0.0600';
+our $VERSION = '0.0.1';
 
 =head2 new()
 
 
     $self->_data_dir($data_dir);
 
-    my $dtd =
-        XML::LibXML::Dtd->new(
-            "Screenplay XML 0.1.0",
-            File::Spec->catfile(
-                $self->_data_dir(), 
-                "screenplay-xml.dtd"
-            ),
-        );
-
-    $self->_dtd($dtd);
-
     $self->_xml_parser(XML::LibXML->new());
 
     my $xslt = XML::LibXSLT->new();