blx::xsdsql::generator - generate the files for create table ,drop table ,add primary key
use blx::xsdsql::generator
this package is a class - instance it with the method new
new - constructor
PARAMS: ROOT_TABLE - tree of objects generated by blx::xsdsql::parser::parse OUTPUT_NAMESPACE => default sql DB_NAMESPACE => default <none> FD => streamer class, file descriptor , array or string (default *STDOUT)
generate - generate a create,drop or adddpk file
PARAMS: ROOT_TABLE - tree of objects generated by blx::xsdsql::parser::parse COMMAND - must be create_table|drop_table|addpk the method return a self to object
get_namespaces - static method
the method return an array of namespace founded
None by default.
None
See blx::xsdsql::parser for parse a xsd file (schema file) and blx::xsdsql::xml for read/write a xml file into/from a database
lorenzo.bellotti, <bellzerozerouno@tiscali.it>
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
To install blx::xsdsql::ut, copy and paste the appropriate command in to your terminal.
cpanm
cpanm blx::xsdsql::ut
CPAN shell
perl -MCPAN -e shell install blx::xsdsql::ut
For more information on module installation, please visit the detailed CPAN module installation guide.