Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
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