-
-
04 Mar 2018 23:07:45 UTC
- Distribution: Treex-PML
- Module version: 2.24
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (2182 / 2 / 0)
- Kwalitee
Bus factor: 2- 45.42% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (259.74KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- File::ShareDir
- File::Which
- IO::Zlib
- LWP::UserAgent
- Test::More
- UNIVERSAL::DOES
- URI
- XML::CompactTree
- XML::LibXML
- XML::SAX
- XML::Writer
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Treex::PML::Backend::PMLTransform - I/O backend implementing on-the-fly XML to PML conversion
SYNOPSIS
use Treex::PML; Treex::PML::AddBackends(qw(PMLTransform)) my $document = Treex::PML::Factory->createDocumentFromFile('input.xml'); ... $document->save();
DESCRIPTION
This module implements a Treex::PML input/output backend which accepts any XML file and attempts to convert it to PML using user-defined transformations (XSLT 1.0, Perl, or external command). See "CONFIGURATION" in Treex::PML::Instance for details.
WARNING: since this backend accepts every XML file, it should be added as the last backend (otherwise other backends working with XML will not be tried).
BUGS
If your system uses libxslt version 1.1.27, the XSLT transformation does not work. Upgrade your system.
COPYRIGHT AND LICENSE
Copyright (C) 2006-2010 by Petr Pajas
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install Treex::PML, copy and paste the appropriate command in to your terminal.
cpanm Treex::PML
perl -MCPAN -e shell install Treex::PML
For more information on module installation, please visit the detailed CPAN module installation guide.