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

NAME

WebService::Lucene::XOXOParser - Simple XOXO Parser

SYNOPSIS

    use WebService::Lucene::XOXOParser;
    
    my $parser     = WebService::Lucene::XOXOParser->new;
    my @properties = $parser->parse( $xml );

DESCRIPTION

This module provides simple XOXO parsing for Lucene documents.

METHODS

new( )

Creates a new parser instance.

parse( $xml )

Parses XML and returns an array of hashrefs decribing each property.

construct( @properties )

Takes an array of properties and constructs an XOXO XML structure.

encode_entities( $value )

Escapes some chars to their entities.

dl

Shortcut to create a definition list

dt

Shortcut to create a definition term

dd

Shortcut to create a definition description

AUTHORS

  • Brian Cassidy <brian.cassidy@nald.ca>

  • Adam Paynter <adam.paynter@nald.ca>

COPYRIGHT AND LICENSE

Copyright 2006-2009 National Adult Literacy Database

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.