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

NAME

DTA::CAB::Format::XmlTokWrap - Datum parser|formatter: XML (DTA::TokWrap .t.xml)

SYNOPSIS

 use DTA::CAB::Format::XmlTokWrap;
 
 ##========================================================================
 ## Methods
 
 $fmt = DTA::CAB::Format::XmlTokWrap->new(%args);
 $obj = $fmt->parseNode($nod);
 $doc = $fmt->parseDocument();
 $fmt = $fmt->putDocument($doc);
 
 ##========================================================================
 ## Utilities
 
 $nod = $fmt->xmlNode($thingy,$name);
 $val = PACKAGE::_pushValue(\%hash,  $key, $val); ##-- $hash{$key}=$val;
 

DESCRIPTION

DTA::CAB::Format::XMlTokWrap is a DTA::CAB::Format subclass for document I/O using a native XML dialect. It inherits from DTA::CAB::Format::XmlNative.

EXAMPLE

An example file in the format accepted/generated by this module is:

 <?xml version="1.0" encoding="UTF-8"?>
 <sentences>
   <s lang="de">
     <w msafe="1" hasmorph="1" errid="ec" exlex="wie" t="wie" lang="de">
       <xlit isLatin1="1" isLatinExt="1" latin1Text="wie"/>
       <moot lemma="wie" word="wie" tag="PWAV"/>
     </w>
     <w t="oede" msafe="0">
       <xlit isLatin1="1" isLatinExt="1" latin1Text="oede"/>
       <moot tag="ADJD" word="öde" lemma="öde"/>
     </w>
     <w t="!" exlex="!" errid="ec" msafe="1">
       <moot lemma="!" word="!" tag="$."/>
       <xlit isLatin1="1" isLatinExt="1" latin1Text="!"/>
     </w>
   </s>
 </sentences>

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011-2019 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.1 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

dta-cab-convert.perl(1), DTA::CAB::Format::XmlNative(3pm), DTA::CAB::Format::XmlCommon(3pm), DTA::CAB::Format::Builtin(3pm), DTA::CAB::Format(3pm), DTA::CAB(3pm), perl(1), ...

1 POD Error

The following errors were encountered while parsing the POD:

Around line 165:

Non-ASCII character seen before =encoding in 'word="öde"'. Assuming UTF-8