1
I have an XML where inside it has a complete table. How do I read this XML and already print this structure of Table in html?
I am working in PHP
XML
<document page-count="1">
<page number="1">
<table data-filename="p01.pdf" data-page="1" data-table="1">
<tr>
<td></td>
<td colspan="6">FULANO DE TAL</td>
</tr>
</table>
</page>
</document>
You can change the
echo "<table"
which starts the HTML element to"<". $table->getName()
, for example. So it always accompanies the elements that are in XML– Rafael Carneiro de Moraes