Read XML: preview results and process output inconsistent

aruberutouaruberutou Member Posts: 23 Contributor II
edited November 2018 in Help

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:

Answers

  • jirirjirir Member Posts: 1 Contributor I

    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

     

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

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

  • bhupendra_patilbhupendra_patil Administrator, Employee, Member Posts: 168 RM Data Scientist

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

Sign In or Register to comment.