IPWorks EDI 2020 Kotlin Edition

Questions / Feedback?

XElements Property

Collection of elements in the current EDI segment.

Syntax

public val xElements: EDIElementList

Remarks

When BuildDOM is set to bdEntireDocument or bdTransaction, this property will be populated when XPath is set to a valid segment within the document.

When BuildDOM is set to bdNone, this property will be populated for each event with the parsed out elements for that particular segment.

This collection is indexed from 0 to size - 1.

Example (Loop through all Elements of an Segment)


For i = 0 to EDIReader.XElements.Count - 1
	DoSomethingWith(EDIReader.XElements(i).Name, EDIReader.XElements(i).Value)
Next i

This property is read-only and not available at design time.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 Kotlin Edition - Version 20.0 [Build 8033]