I'm thinking of doing a script and from what I've heard from other programmers it should be fairly simple to code, but I'm unsure where to start.
If I have an html file like this:
<html> <body> <title>test page</title> <body> this is my first line <!-- start --> <table> <tr> <td></td> <tr> </table> <!-- end --> this is my last line </body> </html>
And I want to take that table between the start and end tags and export it to Excel. What I'm thinking is that the function should remove anything outside these tags and create a temporary HTML file or buffer from which I can send to the Excel export function.
The challenge I see is that the table is dynamically (it's fed from information from the database), so I can only modify the "template" to include those HTML comments.
Any thoughts?
Thanks!


Sign In
Create Account

Back to top









