The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 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

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

d1m0sd1m0s Member Posts: 17 Maven
edited May 2019 in Help
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
Tagged:
Sign In or Register to comment.