NAME
blx::xsdsql::path_map - mapping a xml path to table/column
SYNOPSIS
use blx::xsdsql::path_map
DESCRIPTION
this package is a class - instance it with the method new
FUNCTIONS
this module defined the followed functions
new - constructor
params:
DEBUG - emit debug info
mapping_paths - mapping the all path node to tables and columns
arguments
$root_table - the output of the parser
$type_paths - the output of the parser
params:
DEBUG - emit debug info
the method return the self object
resolve_path - return the table and the column associated to the the pathnode the method return an array ref if the path is associated to a tables otherwise return an hash if the path is associated to a column
arguments
absolute node path
params:
DEBUG - emit debug info
resolve_column_link - return a column that link 2 tables
the arguments are a parent table and a child tables
set_attrs_value - set a value of attributes
the arguments are a pairs NAME => VALUE
the method return a self object
get_attrs_value - return a list of attributes values
the arguments are a list of attributes name
EXPORT
None by default.
EXPORT_OK
None
SEE ALSO
blx::xsdsql::schema - mapping an xsd into a objects grouped in a schema object
AUTHOR
lorenzo.bellotti, <pauseblx@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2011 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
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 81:
=pod directives shouldn't be over one line long! Ignoring all 7 lines of content