Pergunta

I have an HTML table that is dynamic and has tags:

table, th, thead, td, tbody, tr and a div at the end

It also has colspans too.

Can closedXML just import this into a worksheet as is and render it out as XML?

Foi útil?

Solução

No, ClosedXML can not import HTML.

You have to parse the HTML yourself (using something like HTML Agility Pack) and put the content of each cell in the HTML table in the corresponding cell of the ClosedXML spreadsheet.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top