Package pyx12 :: Module x12xml :: Class x12xml
[hide private]

Class x12xml

source code

object --+
         |
        x12xml
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, fd, type, dtd_urn)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__del__(self) source code
 
seg(self, seg_node, seg_data)
Generate XML for the segment data and matching map node
source code
list
_path_list(self, path_str)
Get list of path nodes from path string
source code
 
_get_path_match_idx(self, last_path, cur_path)
Get the index of the last matching path nodes
source code
 
_get_node_id(self, seg_node, parent=None, seg_data=None)
Base node id function
source code
 
_get_loop_info(self, loop_id)
Base loop node value
source code
 
_get_seg_info(self, seg_id)
Base segment node value
source code
 
_get_comp_info(self, comp_id)
Base composite node value
source code
 
_get_ele_info(self, ele_id)
Base element node value
source code
 
_get_subele_info(self, subele_id)
Base sub-element node value
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fd, type, dtd_urn)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

seg(self, seg_node, seg_data)

source code 

Generate XML for the segment data and matching map node

Parameters:
  • seg_node (node) - Map Node
  • seg_data (segment) - Segment object