RapidMiner

Contributor II aruberutou
Contributor II

Read XML: preview results and process output inconsistent

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,

 

3 REPLIES
Newbie jirir
Newbie

Re: Read XML: preview results and process output inconsistent

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

 

RM Certified Expert
RM Certified Expert

Re: Read XML: preview results and process output inconsistent

Yes, you can call R scripts from withing RapidMiner by using the R Scripting extension. Note, there's also an Python Scripting extension too. 

Highlighted

Re: Read XML: preview results and process output inconsistent

is it possible for you to share a sample xml for us to try on our end ?

Polls
How can RapidMiner increase participation in our new competitions?
Twitter Feed