pyx12.x12xml
Create an XML rendering of the X12 document
Module Contents
-
class pyx12.x12xml.x12xml(fd, type, dtd_urn)[source]
- Parameters:
fd (TextIO)
type (str)
dtd_urn (str | None)
-
writer: pyx12.xmlwriter.XMLWriter[source]
-
last_path: list[str][source]
-
close()[source]
Pop any XML elements still on the writer’s stack. Idempotent.
- Return type:
None
-
seg(seg_node, seg_data)[source]
Generate XML for the segment data and matching map node
- Parameters:
-
- Return type:
None
-
seg_context(seg_node, seg_data, pop_loops, push_loops)[source]
Generate XML for the segment data and matching map node
- Parameters:
-
- Return type:
None