The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.

[SOLVED] Xpath syntax help for extract information process

pjdoubleyoupjdoubleyou Member Posts: 6 Contributor II
Hello everyone,
Very new to Rapid Miner, but really excited about what it can do. I've got a question about Xpath syntax, I'm trying to grab the H1 of class 'mainbox-titile' (it's the product name, "ADORA SANDAL - 238523") from I've tried various different versions of //h:*[@class='mainbox-title']/h:h1/text(), but I can't seem to get it right. Any tips would be greatly appreciated...



  • Options
    SkirzynskiSkirzynski Member Posts: 164 Maven

    You want to grab the the h1 tag with the class 'mainbox-title', but your XPath says that you want any tag with the class 'mainbox-title' which contains a h1 tag. So your path finds the h1 tag, looks inside, does not find another h1 tag within the h1 tag, and thus, returns nothing.

    So, the correct path for the title is:

  • Options
    pjdoubleyoupjdoubleyou Member Posts: 6 Contributor II
    Works like a charm! Thanks for the help and apologies for the slow reply...
Sign In or Register to comment.