NamespaceManager - parses and stores namespaces for gwybodaeth
use NamespaceManager; my $nm = NamespaceManager->new(); $nm->map_namespace($data); $nm->get_namspace_hash();
This module stores namespace data and makes these available as a hash.
Returns an instance of the NamespaceManager class.
Takes an array reference $data, and maps any namespaces declared into a hash. Returns a refence to this hash. It also stores any @base elements found.
Returns a hash reference to a hash containing mapped namespaces.
Returns a reference to the base of the document.
Iestyn Pryce, <imp25@cam.ac.uk>
I'd like to thank the Ensemble project (www.ensemble.ac.uk) for funding me to work on this project in the summer of 2009.
Copyright (C) 2009 Iestyn Pryce <imp25@cam.ac.uk>
This library is free software; you can redistribute it and/or modify it under the terms of the BSD license.
To install Gwybodaeth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gwybodaeth
CPAN shell
perl -MCPAN -e shell install Gwybodaeth
For more information on module installation, please visit the detailed CPAN module installation guide.