Skip to main content
I've got a feature with list of features like this:

 

my_feature.list_attr_1{}.a_sub_list{}.final_attribut_1

 

my_feature.list_attr_1{}.a_sub_list{}.final_attribut_2

 

my_feature.list_attr_2{}.another_attribut

 

I want to use the XMLTemplater WITHOUT any list exploder / or Sub template (for many reasons).

 

 

I want to do something like:

 

{

 

  for $list_1 in {fme:get-list-attribute("list_attr_1{}")}

 

    for $sub in {fme:get-list-attribute("$list_1.a_sub_list{}")}

 

      return <at1>$sub.final_attribut_1</at1>

 

      <at2>$sub.final_attribut_2</at2>

 

  }

 

But it does not work, and I can't find any information about syntax...

 

 

Any idea ?
Be the first to reply!

Reply