Import of an XML-File

michael
michael New Altair Community Member
edited November 2024 in Community Q&A

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

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    @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?

  • michael
    michael New Altair Community Member

    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_Ott
    Thomas_Ott New Altair Community Member

    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 

  • sgenzer
    sgenzer
    Altair Employee

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

     

    Scott

     

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.