"web mining - replacing HTML tag elements with values from another attribute"

d1m0s
d1m0s New Altair Community Member
edited November 2024 in Altair RapidMiner
Hi guys, I'm facing the following problem: I have a set of web pages for multiple countries, one page - one country - one HTML table with some data that I need to extract.

I retrieve web pages for my URL list, extract  tables from those pages and after that I need to replace "<table>" tags in HTML attribute with "<table><caption>" + Country name from Country attribute + "</caption>"...and I got stuck here. I use Replace operator.

How can I replace a text fragment from one attribute with another attribute's value? It seems to be a trivial task,  I was not able to find a way to do that though.

Thanks a lot in advance for help.

image
image

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.