in reply to Looking for parser of "bookmaster" script files

XML::TMX::Writer has a DATATYPE option 'ipf': IPF/Bookmaster. This was my first try at using it:
#!/usr/bin/perl use strict; use warnings; use XML::TMX::Writer; my $tmx = new XML::TMX::Writer(); $tmx->start_tmx( OUTPUT => '/root/Desktop/log.tmx', SEGTYPE => qw[ :p :xpl :ul :li :eul ], DATATYPE => 'ipf', ); $tmx->end_tmx();
Since this was my first time, it probably will need considerable tweeking:). It produced this doc:
<?xml version="1.0" encoding="UTF-8"?> <tmx version="1.4"> <header o-tmf="plain text" adminlang="en" creationdate="20111129T1731 +29Z" creationtoolversion="0.23" creationtool="XML::TMX::Writer" srcla +ng="en" segtype="sentence" datatype="ipf"> </header> <body> </body> </tmx>

Replies are listed 'Best First'.
Re^2: Looking for parser of "bookmaster" script files
by slugger415 (Monk) on Nov 29, 2011 at 21:25 UTC
    Ah yes, I did see that but wasn't sure if it was Bookmaster -- I appreciate the example; this is helpful. Thanks so much to all!

    Scott