Read XML: preview results and process output inconsistent

User: "aruberutou"
New Altair Community Member
Updated by Jocelyn

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,

 

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "jirir"
    New Altair Community Member

    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

     

    User: "Thomas_Ott"
    New Altair Community Member

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

    User: "bhupendra_patil"
    New Altair Community Member

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