Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Valid XHTML - Whats The Best Method

Valid XHTML - Whats The Best Method

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studioannouncement
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sketchy Steve
    wrote on last edited by
    #1

    Hi there, I've done some looking on the web and have found a couple of solutions, the first http://www.liquid-internet.co.uk/content/dynamic/pages/series1article1.aspx looked very clean and nice but it does not work with webcontrols. I've seen an article here but is suggests going through the entire page and replacing each 'incorrect' attribute. Whats everybodies prefered method, I've only got visual studio 2003 and dont know if I can use ASP.NEt version 2 or if there are other better options. Thanks Steve

    C 1 Reply Last reply
    0
    • S Sketchy Steve

      Hi there, I've done some looking on the web and have found a couple of solutions, the first http://www.liquid-internet.co.uk/content/dynamic/pages/series1article1.aspx looked very clean and nice but it does not work with webcontrols. I've seen an article here but is suggests going through the entire page and replacing each 'incorrect' attribute. Whats everybodies prefered method, I've only got visual studio 2003 and dont know if I can use ASP.NEt version 2 or if there are other better options. Thanks Steve

      C Offline
      C Offline
      Curtis Schlak
      wrote on last edited by
      #2

      Did you see this CP article by Omar Al Zabir: Convert HTML to XHTML and clean unnecessary tags and attributes? If you don't like that class, though, you could use his base class SGMLReader. "we must lose precision to make significant statements about complex systems." -deKorvin on uncertainty

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups