• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Michele Neylon :: Pensieri

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

html to xml conversion

March 13, 2005 by Michele Neylon Leave a Comment

I’m trying to get some nice charts in flash together for a little side project of mine.
The problem I am trying to overcome is that the chart production code requires xml-like data input to do the graphing. At present I only have the data in html files, so I need to convert them to xml or strip the data from them and push it out into xml.
After googling a bit I came across a very simple solution on the IBM developer site. Simply passing a couple of parameters to “tidy” you can produce XHTML from legacy HTML files:
tidy -asxhtml -numeric < file.html > file.xml
You can find out more about tidy or grab a copy here.
The next step will be to remove the extra code from the generated file and leave just the data for the graphs.

Related Posts:

  • computer-code-screens
    Dodgy WordPress Developer Tactics
  • privacy-keyboard-keys
    My Privacy Has Been Sold
  • taylor-swift-eras-tour-paris
    Female Rage : The Musical (Taylor Swift in Paris)
  • Instafest-mneylon-2023
    Another Year of Listening to Music Visualised (sort of)
  • 456849926_18452942929054922_1367832720417536958_n
    Making my own Cucumber Pickle
  • NMM-Grey-mining-bee-1
    No Mow May

Filed Under: Techie :: Techno ::

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

dotblog founder

Mastodon

Archives

  • Bluesky
  • Instagram
  • Threads
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Newsletter
  • Privacy

Blogroll

  • My Mastodon
  • Damien Mulley
  • Stewart Curry
  • Technology.ie Podcast
  • Blacknight Blog

Stalking Links

Subscribe to Michele Neylon :: Pensieri

Blogroll

  • Blacknight Blog
  • Damien Mulley
  • Gianni Ponzi
  • Gordon Hudson
  • Grandad
  • My Mastodon
  • Paul Savage – BlackDog SEO
  • Stewart Curry
  • Technology.ie Podcast
  • Tom Doyle

Sites

  • Business Travel Tips
  • Discount Coupon Codes
  • Domain News
  • Fat.ie – my diet blog
  • Film Posters
  • Film Reviews
  • Films
  • Free Desktop Wallpapers
  • Irish Blogger Discussion Forum
  • Irish Stamps
  • Movie Trailers and News
  • Paste.ie

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2026 · Magazine Pro on Genesis Framework · WordPress · Log in