Skip to main content
Solved

Issues with XMLFragmenter


nedwaterman
Contributor
Forum|alt.badge.img+9

Hi,

I'm trying to extract XML from the attached file. I'm using an XMLFormatter before hand which extracts the loggerId I need to match to a database table.

I can extract the XML using the fragmenter, but unless I use the 'Merge Attributes from Input Feature' the loggerID is not carried through. If I do this. FME managed to burn through 700GB of my hard drive and then fails due to lack of memory.

Any idea how I can carry through my original XML attributes through to the fragments without having to do this?

 

Best answer by david_r

First of all, be sure remove the incoming attribute containing the full XML after the XMLFragmenter. Otherwise you'll have a copy of the entire XML document for each feature output by the XMLFragmenter. That can eat up a lot of memory.

View original
Did this help you find an answer to your question?

david_r
Evangelist
  • January 3, 2023

First of all, be sure remove the incoming attribute containing the full XML after the XMLFragmenter. Otherwise you'll have a copy of the entire XML document for each feature output by the XMLFragmenter. That can eat up a lot of memory.


nedwaterman
Contributor
Forum|alt.badge.img+9

Yes - that's much better. Cheers David!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings