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 blx::xsdsql::schema object

PARAMS:
	TABLE_PREFIX - prefix for tables - the default is none
	VIEW_PREFIX  - prefix for views  - the default is none
	SEQUENCE_PREFIX - prefix for the sequences - the default is none
	ROOT_TABLE_NAME	- the name of the root table - the default is 'ROOT'
	TABLE_DICTIONARY_NAME - the name of the table dictionary
	COLUMN_DICTIONARY_NAME - the name of the colunm dictionary
	RELATION_DICTIONARY_NAME - the name of the relation dictionary
	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 (Ex: 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