The segment Tag
Description
Identifies an EDI Segment.
During inbound processing allows for controls of a found segment item.
During outbound processing creates the segmnet.
The segment must be within a tag that
identifies a segment containing structure. An error will occur if the segment is not defined
to the containing structure.
Type: EDI
Attributes:
- id
- The segment identifier
Loop Control: Yes inbound only
Containing Tags
- composite
-
- element
-
Used Within Tags - suggested
- atEnd
- For segments that repeat, this will execute the code within the atEnd scope. inbound only
- envelope
- The five X12 envelope segments
- functionalgroup
The two X12 functional group segments-
- loop
-
- transactionSet
-
Example
<segment id="N1>
 <element position=...
</segment>>