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

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 Learner III

    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 Employee-RapidMiner, 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.