Skip to main content

Best Answers

10502 Posts
XMLTemplater listattributes

Hi everyone, I don't know how to work with listattributes inside the XMLTemplater Transformer. A feature contains a list networks.network{}, foreach element in the list, I want to create a new child element "networkNode".Do I have to loop threw the elements and create the xml for each, or is it possible to do it directly in the XMLTemplater? networks.network{0}.type = type0networks.network{0}.linkage = linkage0networks.network{1}.type = type1networks.network{1}.linkage= linkage1What I want my XML to look like: <OnlineContact>  <aixm:networkNode>              <aixm:network>type0</aixm:network>            <aixm:linkage>linkage0</aixm:linkage>         </aixm:OnlineContact>     </aixm:networkNode>    <aixm:networkNode>              <aixm:network>type1</aixm:network>            <aixm:linkage>linkage1</aixm:linkage>         </aixm:OnlineContact>     </aixm:networkNode></OnlineContact>I am using FM

Badge Winners

  • Online Training
    powelljlhas earned the badge Online Training
  • FME Form Basic Training
    vimafihas earned the badge FME Form Basic Training
  • English Speaker
    vimafihas earned the badge English Speaker
  • Finnish Speaker
    vimafihas earned the badge Finnish Speaker
  • 12 Days 2025 Silver Badge
    angus.loaderhas earned the badge 12 Days 2025 Silver Badge
Show all badges

Community Stats

32,154
Posts
122,043
Replies
39,812
Members

Latest FME