473,385 Members | 1,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

HTML Table to CSV?

Anyone know of a way to convert a HTML Table to CSV or Datatable? It's in
the form of this format It's basically a multi row x 7 column HTML table...
all in standard HTML <TABLEtags thanks!
Jan 22 '07 #1
6 3458
Use an XSLT to do the transformation.
Hth

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:OX**************@TK2MSFTNGP04.phx.gbl...
Anyone know of a way to convert a HTML Table to CSV or Datatable? It's in
the form of this format It's basically a multi row x 7 column HTML
table... all in standard HTML <TABLEtags thanks!

Jan 22 '07 #2
dont have to change the doc types or anything to XML first?

"Shailen Sukul" <sh***@ashlen.net.auwrote in message
news:Ob**************@TK2MSFTNGP06.phx.gbl...
Use an XSLT to do the transformation.
Hth

--
With Regards
Shailen Sukul
.Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:OX**************@TK2MSFTNGP04.phx.gbl...
>Anyone know of a way to convert a HTML Table to CSV or Datatable? It's in
the form of this format It's basically a multi row x 7 column HTML
table... all in standard HTML <TABLEtags thanks!


Jan 22 '07 #3
or you could just use Microsoft Access.

right-click LINK to the HTML table

..NET is for fucking losers

-Aaron
Shailen Sukul wrote:
Use an XSLT to do the transformation.
Hth

--
With Regards
Shailen Sukul
.Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:OX**************@TK2MSFTNGP04.phx.gbl...
Anyone know of a way to convert a HTML Table to CSV or Datatable? It's in
the form of this format It's basically a multi row x 7 column HTML
table... all in standard HTML <TABLEtags thanks!
Jan 22 '07 #4
yeah I don't think that XSLT will _WORK_ with HTML... it's really
really picky about having 'valid' and 'well formed' xml

-Aaron


Shailen Sukul wrote:
Use an XSLT to do the transformation.
Hth

--
With Regards
Shailen Sukul
.Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:OX**************@TK2MSFTNGP04.phx.gbl...
Anyone know of a way to convert a HTML Table to CSV or Datatable? It's in
the form of this format It's basically a multi row x 7 column HTML
table... all in standard HTML <TABLEtags thanks!
Jan 22 '07 #5
Not to sure.
Best best to try it out.
If you need a simple XSLT/XML editor, you can go to microsoft.com and get
XML notepad.
Let us know how you go...

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
dont have to change the doc types or anything to XML first?

"Shailen Sukul" <sh***@ashlen.net.auwrote in message
news:Ob**************@TK2MSFTNGP06.phx.gbl...
>Use an XSLT to do the transformation.
Hth

--
With Regards
Shailen Sukul
.Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:OX**************@TK2MSFTNGP04.phx.gbl...
>>Anyone know of a way to convert a HTML Table to CSV or Datatable? It's
in the form of this format It's basically a multi row x 7 column HTML
table... all in standard HTML <TABLEtags thanks!



Jan 22 '07 #6
XSL will transform an XML document only. If the HTML table is XML-compliant,
it can be embedded into an XML document, or used outside of any
non-XML-compliant markup for transformation.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

In case of Minimalism, break Philip Glass.

"Shailen Sukul" <sh***@ashlen.net.auwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Not to sure.
Best best to try it out.
If you need a simple XSLT/XML editor, you can go to microsoft.com and get
XML notepad.
Let us know how you go...

--
With Regards
Shailen Sukul
.Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>dont have to change the doc types or anything to XML first?

"Shailen Sukul" <sh***@ashlen.net.auwrote in message
news:Ob**************@TK2MSFTNGP06.phx.gbl...
>>Use an XSLT to do the transformation.
Hth

--
With Regards
Shailen Sukul
.Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"Smokey Grindel" <no****@nospam.comwrote in message
news:OX**************@TK2MSFTNGP04.phx.gbl...
Anyone know of a way to convert a HTML Table to CSV or Datatable? It's
in the form of this format It's basically a multi row x 7 column HTML
table... all in standard HTML <TABLEtags thanks!



Jan 23 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: SteveJ | last post by:
All, Can someone help me solve the next step. First of all let me say I'm new to php. I pieced the following code together from samples I found on the net and a book I bought called PHP...
10
by: john T | last post by:
Is there anyway to vertically center a html table using css in such a way it does not alter the html table. When I tryied it just screws up.
10
by: Peter Kirk | last post by:
Hi there can someone please help me with creating dynamic content in a table? For example, see the below javascript and html - why is a new row not created in the table when I click the button?...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
5
by: Andrew | last post by:
Hi, friends, In ASP, we use obj = CreateObject("com.dll") obj.GetHTMLText(inVal, outHTMLTxt1, outHTMLTxt2) to get different HTML strings based on input values. Then, we insert them into...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
2
by: lynx129 | last post by:
Hi there , I have php script that works fine under my server but I dont know how to put the html code inside my site. feedback.html <html dir="rtl"> <head> <title> ????? ??? </title>...
7
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
2
by: sateeshchandrasanga | last post by:
Hi All, My HTML code is working fine in Firefox.But its not displaying any thing in IE.Can you help me in this problem.And in Google crown its displaying but not properly. ...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.