cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
miro_m
New Member

Parsing HTML table error

I am trying to parse following table from my email:

miro_m_0-1655812496667.png

 

I am following steps from this video:

https://www.youtube.com/watch?v=i4GHCGMAD88

 

And I can read the body of that email and I can get the table (as text), but I cannot apply XML function:

 

HTML table is pretty large so I won't paste it here, but it has all the tags, but it also has many (unnecessary) attributes which are also duplicates, this is just the example of one link tag inside the table:

miro_m_0-1655814137865.png

 

And when I try to apply XML function to it, I get following error:

 

xml(variables('stringForManipulation'))
 
miro_m_1-1655813352242.png

And the error is correct, there are 52 occurances of 'originalsrc' attributes, many duplicates.

 

Can I somehow remove all attributes from the table?

Or can I remove all links from the HTML??

 

How Can I read the values in this table??

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
miro_m
New Member

To answer my own question, I used this video to solve the problem:

https://www.youtube.com/watch?v=IwRKWaTnl3U

View solution in original post

1 REPLY 1
miro_m
New Member

To answer my own question, I used this video to solve the problem:

https://www.youtube.com/watch?v=IwRKWaTnl3U

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,783)