473,396 Members | 2,115 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,396 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 1861
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...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.