🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Reading XML file RapidMiner

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

Hello,

 

We are trying to load the XML File, could not able to get the attributes of XML file. So Kindly help us to work with XML files 

 

 

Regards,

Munwar

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "bhupendra_patil"
    New Altair Community Member

    hello @munwar_cappius

     

    XML files can be structured in various ways, you best bet is to use the import configuration wizard.

    It basically generates the necessary XPath, in case you are familiar with XPath syntax and then you can specify teh xpaths directly too

    You can use xpath to pick the right nodes in your XML.

     

    User: "munwar_cappius"
    New Altair Community Member
    OP

    Hi Bhupendra,

     

    Thanks so much for your support on community.  We are using your text analytics modules in our project.

     

    One question I have is on "Read XML" feature.  We are able to read XML input files with complex structures using the XPath queries and process in RapidMiner.  It is working great for us.

     

    We have a requirement to get the COUNT of number of nodes in a specific XML Path.  We are using various methods of count function as per XPath documentation.   For example count(//node1/Element1) and //node1[count(Element1)].  This is resulting into ? (not able to resolve) in RapidMiner.

     

    Do you have different interpretation of count or are we missing any documentation?

     

    Can you please help to get the COUNT of xml nodes.   Thanks in advance.

     

    Munwar Shariff, CTO, Cappius.