in reply to Looking for parser of "bookmaster" script files
Since this was my first time, it probably will need considerable tweeking:). It produced this doc:#!/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();
<?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 |