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
Read XML: preview results and process output inconsistent
aruberutou
Member Posts: 23 Contributor II
Hi, all,
Read XML is one of my favorite operators in RM. One thing I have noticed, however, is that the results shown in the preview and the results once run are sometimes different. For example, the following works just fine in the preview:
./PhraseText[1]/../../../child::UttText[1]/text()
However, it returns blank results when run. But when implemented using R (xpathSApply), it runs just fine.
Any thoughts on this?
Thanks,
Tagged:
1
Answers
Hi,
The same issue with Rapidminer 7.4 (Mac and Windows).
What do you mean by "implemented using R (xpathSApply)"? You mean calling R from within Rapidminer?
Thanks,
Jiri
Yes, you can call R scripts from withing RapidMiner by using the R Scripting extension. Note, there's also an Python Scripting extension too.
is it possible for you to share a sample xml for us to try on our end ?