Solved

Issues with XMLFragmenter

  • 3 January 2023
  • 2 replies
  • 14 views

Badge +3

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?

 

icon

Best answer by david_r 3 January 2023, 11:34

View original

2 replies

Userlevel 4

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.

Badge +3

Yes - that's much better. Cheers David!

Reply