Forum Discussion
tstack
6 years agoFormer Employee
You were on the right track with the XML Parser. It can parse the XHTML file into a JSON structure that you can manipulate with other snaps and the expression language. Here’s an example pipeline that parses the table in the URL you sent:
ReadHTMLTable_2019_10_18.slp (13.3 KB)
Note that the XML Parser takes some time to run initially since it needs to download the XHTML DTDs from w3.org and, unfortunately, they have implemented an artificial delay on that download.
The html.decode()
function is for decoding HTML entities (e.g. <
) and not for parsing HTML itself.
Naveen4baba
6 years agoNew Contributor
Excellent… Such a beauty…
I was almost near the last mapper. But not even thought about the array function.
But what you created is very generic and awesome…
Thanks ,Naveen