infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
XML translate question
david_barr
I'm writing a translate to go from XML to CSV, and I'm confused about how to do a few things.
My translate has some kind of "Choice" that seems to act like a repeating group. The problem is that I'm trying to iterate over the elements within the Choice, and I don't see a way to figure out which type of element I'm currently iterating over. What I'm currently doing is trying to access a specific child using the iterate variable, and skipping the section of the xlate if the copy fails, but that doesn't seem like the right way to do it. Does anyone have suggestions?
Also, the "#tag" thing was an experiment that doesn't work.
Find more posts tagged with
Clovertech
Comments
david_barr
I think what makes this difficult is the extra .0 in the path (after Claims.Claim(0)). I was looking at the schema, and I think this is there because all of the child elements are under an element instead of an element. This implies that the children can appear in any order.