IPWorks EDIFACT 2020 C++ Edition

Questions / Feedback?

BuildDOM Property

When True, an internal object model of the EDI document is created.

Syntax

ANSI (Cross Platform)
int GetBuildDOM();
int SetBuildDOM(int iBuildDOM); Unicode (Windows) INT GetBuildDOM();
INT SetBuildDOM(INT iBuildDOM);

Possible Values

BD_ENTIRE_DOCUMENT(0), 
BD_INTERCHANGE(1),
BD_TRANSACTION(2),
BD_NONE(3)
@property (nonatomic,readwrite,assign,getter=buildDOM,setter=setBuildDOM:) int buildDOM;
- (int)buildDOM;
- (void)setBuildDOM:(int)newBuildDOM;

Possible Values

BD_ENTIRE_DOCUMENT(0), 
BD_INTERCHANGE(1),
BD_TRANSACTION(2),
BD_NONE(3)
#define PID_EDIFACTREADER_BUILDDOM 1

IPWORKSEDIFACT_EXTERNAL void* IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTReader_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDIFACT_EXTERNAL int IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTReader_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

Set BuildDOM to bdEntireDocument (0) when you need to browse the current document through XPath.

Use bdInterchange (1) when parsing large documents to tell the class to only hold an internal object model of the current Interchange being parsed. When this value is used, and a new Interchange is encountered during parsing, the old interchange is cleared from memory. If the input contains a single Interchange, this is equivalent to using bdEntireDocument.

Use bdTransaction (2) when parsing large documents to tell the class to only hold an internal object model of the current transaction being parsed. When this value is used, and a new transaction is encountered during parsing, the old transaction is cleared from memory.

A value of bdNone (3) will tell the class to not save any internal state of the document being parsed, and thus XPath will be unavailable.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDIFACT 2020 C++ Edition - Version 20.0 [Build 8209]