Import of an XML-File

michaelmichael Member Posts: 2 Contributor I
edited December 2018 in Help

Hi, I work with an XML-File. I understand that I use the operator Read XML. I don't know how to convert the document without losing the different structure levels with recursion. Michael

Answers

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

    @michael The Read XML operator has an Import Wizard that will guide you through the various levels to get to your data. Did you try that?

  • michaelmichael Member Posts: 2 Contributor I

    Hi Thomas,

     

    thank you for your help.

    I used wizzard. Pavithra said that I must define the right XPaths.

    Well, I chose Xpath in step 3. The parentknot is there determined.

    How can I activate the other knots along with the parentknot?

     

    Thanks a lot.

     

    Michael

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

    Parentknot? I'm unfamiliar with that term. It would be helpful if you shared your XML process code and a sample dataset. Follow the instructions on the right side of the page for sharing your XML process code 

  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    hmmm... maybe "parentknot" is root node?

     

    Scott

     

Sign In or Register to comment.