The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Concatenate examples from XML files
Dear all,
I have a bunch of XML files, that I need to import in Rapidminer and extract some elements.
In each file the text is spread between several <p> tags. In the output example set I can get an example per <p> tag with the file names duplicated:
File Text
File1.xml abc
File1.xml def
File2.xml ghi
File2.xml jkl
I would like to concatenate the examples of the same files to get all the texts from <p> tags in the same cells:
File AllText
File1.xml abcdef
File2.xml ghijkl
I followed this thread but I'm a real beginner and I didn't really understand how it worked:
In my case it doesn't really worked. I have the message "Undefined macro: File_value" where in the example process I used the macro didn't seem defined at this step.
Any help would be appreciated!
Best
Romain
Tagged:
0
Answers
Thank you for your answer. Yes the Branch operator is exactly the point where I'm stuck.
To be clearer, I tried to reproduce, with my XML files, the process I'm attaching that was done as a generic use case. In this test process the branch operator doesn't have a bug even while I don't see the macro defined earlier.
Can you see the difference?
Thanks again,
Best regards,
Romain