-
-
09 Dec 2016 08:17:31 UTC
- Distribution: Lido-XML
- Module version: 0.07
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (1558 / 0 / 0)
- Kwalitee
Bus factor: 1- 67.16% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (190.24KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE userand 2 contributors-
Patrick Hochstenbach
-
Matthias Vandermaesen
- NAME
- SYNOPSIS
- DESCRIPTION
- DISCLAIMER
- CONFIGURATION
- METHODS
- AUTHORS
- CONTRIBUTORS
- COPYRIGHT AND LICENSE
NAME
Lido::XML - A Lido XML parser and writer
SYNOPSIS
use Lido::XML my $lido = Lido::XML->new; my $perl = $lido->parse($xml_file); my $xml = $lido->to_xml($perl);
DESCRIPTION
LIDO is an XML Schema for Contributing Content to Cultural Heritage Repositories. The Lido::XML parser is a software tool that understands the Lido Schema and can parse the content of Lido XML files into a Perl hash and back.
DISCLAIMER
* I'm not a LIDO expert. * This project was created as part of the L<Catmandu> project as an example how to create a XML parser based on a known XSD Schema. * All the heavy work is done by the excellent L<XML::Compile> package. * I invite other developers to contribute to this code.
CONFIGURATION
- new
-
Create a new Lido processor
METHODS
- parse( $file | $string )
-
Create a Perl hash out of a Lido input.
- to_xml( $perl );
-
Transform a Perl hash back into a Lido XML record
AUTHORS
Patrick Hochstenbach,
patrick.hochstenbach at ugent.be
CONTRIBUTORS
Matthias Vandermaesen
Pieter De Praetere
COPYRIGHT AND LICENSE
The Perl software is copyright (c) 2016 by Patrick Hochstenbach.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
All included LIDO schemas carry an Open Geospacial Group OGC license:
Copyright (c) 2016 Open Geospatial Consortium, Inc. All Rights Reserved http://www.opengeospatial.org/ogc/Document.
Module Install Instructions
To install Lido::XML, copy and paste the appropriate command in to your terminal.
cpanm Lido::XML
perl -MCPAN -e shell install Lido::XML
For more information on module installation, please visit the detailed CPAN module installation guide.