Skip to Content
0
Former Member
Jun 28, 2006 at 09:46 AM

Count lines of xml file

154 Views

hi

i have flat file -> idoc scenario and I want to use mapping/cr8 user-defined function to count ALL the lines of the xml file

I tried to use index function with remove context and split by value and it didnt help ( mayb i did it wrong )

if i use count function i have to use it on EACH line and add all

the flat file MT is

Integral_MT

___________IDOC

__________________H_Line (1)

__________________L_Line (unbounded)

__________________V_Line (unbounded)

any suggestions?

thx

Shai