Hi @giarcnomis, firstly you will have to clarify the hierarchy structure of destination XML document, relationship between the XML structure and schema of the CSV table, and find key attributes to group descendant elements, in order to configure template expressions properly.
I assume as:
<Header> is the root element of destination XML document, and "FileID" is the key.
<Schedule> can occur one or more times under <Header>, and "CalendarGroupCode" is the key.
<Route> can occur one or more times under each <Schedule>, and "RoutePath" is the key.
<Trip> can occur one or more times under each <Route>, and "TripNumber" is the key.
<Stops> can occur one or more times under each <Trip>.
If my assumption above was correct, this workflow creates desired XML.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.