NAME
blx::xsdsql::xsd_parser - parser for xsd files
SYNOPSIS
use blx::xsdsql::xsd_parser
DESCRIPTION
this package is a class - instance it with the method new
VERSION
0.10.0
FUNCTIONS
this module defined the followed functions
new - constructor PARAMS: OUTPUT_NAMESPACE - output_namespace (default 'sql') DB_NAMESPACE - database namespace DEBUG - set debug mode
parsefile - parse a xsd file - the method return a blx::xsdsql::xsd_parser::schema object
ARGUMENTS
schema filename - if is not set standard input is assumed
PARAMS:
TABLE_PREFIX - prefix for tables - the default is none
VIEW_PREFIX - prefix for views - the default is none
ROOT_TABLE_NAME - the name of the root table - if not set use the default
DEBUG - set debug mode
NO_FLAT_GROUPS - if true no flat the columns of table groups with maxoccurs <= 1 into the ref table
FORCE_NAMESPACE - force the namespace in uri (valid only if the schema is in the global namespace)
SCHEMA_PATH - list of directories for search schemas
for default is the environment var SCHEMA_PATH otherwise the directory of the schema_file
SEE ALSO
blx::xsdsql::00_readme_API blx::xsdsql::schema_repository blx::xsdsql::schema_repository::catalog blx::xsdsql::schema_repository::catalog_xml
BUGS
Please report any bugs or feature requests to https://rt.cpan.org/Public/Bug/Report.html?Queue=XSDSQL
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