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) 
	DEBUG		 	=> 	 set debug mode

parsefile - parse a xsd file

the first param must be an object compatible with the input of XML::Parser::parse, normally a file name    
the method return a blx::xsdsql::xsd_parser::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
	DEBUG		 				=>  set debug mode
	NO_FLAT_GROUPS				=>  no flat the columns of table groups with maxoccurs <= 1 into the ref table

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