Skip to main content
Solved

Trouble parsing XML file

  • January 24, 2020
  • 3 replies
  • 45 views

Hello,

 

I am in dire need of help, as I have been trying to parse an XML file for the last 5 hours.

 

I have looked at the XML tutorial, in addition to many other posts on this forum, but I cannot figure this out. Can anyone help me?

 

 

I am interested in getting a Feature for each Task, with all its subelements as attributes.

The XML file and fmw workbench are attached.

 

Thank you, and have a great weekend!

 

Edit: You might have to change the path to the XML file in the reader.

 

Best answer by danilo_fme

Hi @just_jasper

I used the transformer XMLFragmenter.

Attached the Workspace template ( FMWT ). - Workspace_XML.fmwt

 

Thanks in Advance,

Danilo

 

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.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • Best Answer
  • January 24, 2020

Hi @just_jasper

I used the transformer XMLFragmenter.

Attached the Workspace template ( FMWT ). - Workspace_XML.fmwt

 

Thanks in Advance,

Danilo

 


  • Author
  • January 27, 2020

Hi @just_jasper

I used the transformer XMLFragmenter.

Attached the Workspace template ( FMWT ). - Workspace_XML.fmwt

 

Thanks in Advance,

Danilo

 

Thanks a lot Danilo. This is perfect!


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • January 27, 2020

Thanks a lot Danilo. This is perfect!

You are wellcome