NAME
blx::xsdsql::parser - parser for xsd files
SYNOPSIS
use blx::xsdsql::parser
DESCRIPTION
this package is a class - instance it with the method new
FUNCTIONS
this module defined the followed functions
new - constructor
PARAMS:
DB_NAMESPACE - database namespace (default not set)
parsefile - parse a xsd file
the first param if an object compatible with the input of Rinchi::XMLSchema::parsefile, normally a file name
the method return a tree of objects rapresented the tables of database
PARAMS:
TABLE_PREFIX - prefix for tables - the default is none
VIEW_PREFIX - prefix for views - the default is none
SCHEMA_DUMPER - print on STDERR the dumper of the schema generated by Runchi::XMLSchema
get_db_namespaces - static method
the method return an array of database namespace founded (Es: pg)
EXPORT
None by default.
EXPORT_OK
None
SEE ALSO
See blx:.xsdsql::generator for generate the schema of the database and blx::xsdsql:xml from read/write a xml file from/into a database
AUTHOR
lorenzo.bellotti, <pauseblx@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by lorenzo.bellotti
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html