Skip to main content
Question

XmlTemplater and list of features

  • June 16, 2014
  • 0 replies
  • 15 views

Forum|alt.badge.img
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 ?
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.