Skip to main content
Solved

Yet another extract attributes from XML question

  • April 2, 2019
  • 3 replies
  • 37 views

bruceharold
Supporter
Forum|alt.badge.img+19

Hello All

I could easily revert to my Python comfort zone but in the spirit of learning can anyone tell me the most FMEic way to extract Total Features, Add, Mods and Del attributes from the attached XML? Many thanks.

Best answer by lau

Hi,

The "HTML Table" Reader will do the job! Just read your xml with this reader and you will get your attributes.

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

lau
Forum|alt.badge.img+3
  • Best Answer
  • April 2, 2019

Hi,

The "HTML Table" Reader will do the job! Just read your xml with this reader and you will get your attributes.


bruceharold
Supporter
Forum|alt.badge.img+19
  • Author
  • Supporter
  • April 2, 2019

Hi,

The "HTML Table" Reader will do the job! Just read your xml with this reader and you will get your attributes.

I'm trying but its putting up a fight. The data is actually coming from an RSS feed:

https://data.linz.govt.nz/layer/50772-nz-primary-parcels/history/

Its HTMLin the Summary attribute but the HTMLReader didn't like the attribute. ;-(


bruceharold
Supporter
Forum|alt.badge.img+19
  • Author
  • Supporter
  • April 2, 2019

Hi,

The "HTML Table" Reader will do the job! Just read your xml with this reader and you will get your attributes.

I got it working by writing the file to disk - thanks!