SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    UK
    Posts
    245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Valid XHTML & ASP code

    So I design and code my site with nice valid Xhtml (transitional) code. Some pages have dynamic elements using ASP that's done by the ASP guys, and of course the pages come back and thay are no longer valid.
    So how do you go about making valid Xhtml pages that have embeded ASP code, or do I just forget it thinking that the pages are no longer HTML and are ASP so validation is no longer important?

    I don't really want to anoy the ASP guys (I already slightly pissed off the marketing guy, he was using non vaild meta tags, so ruining all my good work), so simple stuff to put round the ASP sections would be the best.

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Are you trying to validate a .asp file as source code? Don't do that; instead, validate the source code as generated (view source from a browser).

  3. #3
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    UK
    Posts
    245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was using the W3C's online validator, does that atempt to validate the pages 'raw' code.
    Hoe would I go about checking the 'browser rendered' code if that is the case.

  4. #4
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was using the W3C's online validator, does that atempt to validate the pages 'raw' code.
    how did you submit the page? If you uploaded the file from your system, they were working on the raw source.

    The simplest way to validate the generated source would be to upload the pages onto a world-facing webserver, then enter the url of the page into the "address" box on this page: http://validator.w3.org/

  5. #5
    SitePoint Enthusiast mherring's Avatar
    Join Date
    Feb 2004
    Location
    Cedar Rapids, IA
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whenever I need to validate an ASP page, I copy the HTML source after it's been published, and just copy that into the validator.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •