blx::xsdsql::parser - parser for xsd files
use blx::xsdsql::parser
this package is a class - instance it with the method new
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 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 DEBUG => set debug mode
get_db_namespaces - static method
the method return an array of database namespace founded (Ex: pg)
None by default.
None
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
lorenzo.bellotti, <pauseblx@gmail.com>
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.