SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 47 of 47
  1. #26
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    xhtml "should" be sent as application/xhtml+xml, not application/xml (or you lose a lot of specific xhtml-related thingies )

    but when IE gets it from the server with the application/xhtml+xml mime type, it will prompt you to open or save the file...so it's not viable for general web usage...

    see http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html and the linked http://www.w3.org/People/mimasa/test...-types/results
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  2. #27
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    p.s.:
    Quote Originally Posted by DougBTX
    Works 100% in IE5.5 by the looks of it atleast when loaded off your harddrive...
    when loading off your harddrive, you're obviously not sending the correct mime type...
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #28
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by redux
    when loading off your harddrive, you're obviously not sending the correct mime type...
    In Windows Explorer: Tools > Folder Options > File Types > Scroll down to "XML Document" > Edit (or create a new one) > Set the "Content Type (MIME)" to whatever you want. (I changed text/xml to application/xml)

    You can test to see that it affects Opera becuse if you name the file .html, so it is sent as text/html, it will ignore the <?xml-stylesheet?> line and render without styles.

    Hmm, so not using text/html will crash IE5/Mac, could be a problem, but still interesting for inhouse work.

    Thanks for the links,
    Douglas
    Hello World

  4. #29
    SitePoint Enthusiast
    Join Date
    Aug 1999
    Location
    Kuala Lumpur, Malaysia
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't mean browsers that treat XHTML as XML. Perhaps I wasn't clear. Say for example my page is coded in XHTML 1.0 Transitional (validated by W3C), what browsers and their minimum versions would support that standard?

    Quote Originally Posted by DougBTX
    No browser (that I know of) supports XHTML as XML, but most are quite happy to treat it as HTML 4.01 (If you follow these guides)

    Douglas
    DarkStation - No-nonsense Console Gaming Coverage.

  5. #30
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Pretty much every browser should "support" XHTML when sent as text/html (most webpages) - all the way back - they should just interpret it as HTML.

    As for minimum versions that recognize the difference between HTML and XHTML, there's a compatibility table at w3.org:

    http://www.w3.org/People/mimasa/test...-types/results

  6. #31
    SitePoint Enthusiast
    Join Date
    Aug 1999
    Location
    Kuala Lumpur, Malaysia
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! This may be what I'm looking for. I'm trying to make an 'About this site' page, and I'm listing which browser and their minimum versions that can view the XHTML-coded page. I don't want to jusy say 'all compliant browsers" etc.
    DarkStation - No-nonsense Console Gaming Coverage.

  7. #32
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As already said, most (X)HTML will work in most browsers, a bigger question is which browsers support the CSS you use? And to answer that, it depends what CSS you use

    Douglas
    Hello World

  8. #33
    SitePoint Wizard bronze trophy
    Join Date
    Apr 2003
    Posts
    4,095
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do a kinda interesting thing: my site is written in a custom XML, and I use XSLT for the client-side transformation to XHTML.

  9. #34
    Team SitePoint AlexW's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne
    Posts
    832
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by compuwhiz7
    I do a kinda interesting thing: my site is written in a custom XML, and I use XSLT for the client-side transformation to XHTML.
    Are you talking about the databased content being XML, or the actual page framework being XML that is converted?
    Alex Walker
    SitePoint Developer
    SitePoint - Learnable

  10. #35
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by compuwhiz7
    I do a kinda interesting thing: my site is written in a custom XML, and I use XSLT for the client-side transformation to XHTML. [img]images/smilies/biggrin.gif[/img]
    I do the same thing for one of my sites. (The page framework AND content) but I don't use XSLT, I transform it using a PHP XML rendering class.

    It's very nice to describe content with pure semantics, and not be forced to use only the tags that XHTML provides.

    Example XHTML: http://www.peterbailey.net/fvalidate/nu/changelog/
    Example XML: http://www.peterbailey.net/fValidate.../changelog.xml
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  11. #36
    Team SitePoint AlexW's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne
    Posts
    832
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Nice. So your using the the PatTools XML render and template engine?
    Alex Walker
    SitePoint Developer
    SitePoint - Learnable

  12. #37
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes. I've used their template system several times, so when I decided to fiddle with XML, it was natural for me to try their XML renderer. I've done a decent amount of using it vs. XSLT since starting, and I must say, I much prefer Randy (what they call their XML renderer) over XSLT for basic content transforms.

    Yes, XSLT can achieve things Randy can't, but I rarely have the need to use those features - that and patTemplate is FAR less verbose than XSLT (Randy uses patTemplate, their template class, for transformations). Conversely, Randy has certain capabilites that XSLT doesn't (they have a good PowerPoint slideshow that details the differences and pros/cons of each).

    The extension system they have is fantastic. I'm writing an XPath/XPointer extension at the moment.

    And, since I have pure XML as my content, I plan to roll out a PDF version of the type reference, which shouldn't require too much effort.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  13. #38
    Team SitePoint AlexW's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne
    Posts
    832
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I've always loved the look of their stuff but never had the opportunity to sit down with it and work it out. I'd love to XMLize SitePoint's content but going back through 1,000 articles to get the formatting right is just too daunting.

    The PDF conversion is a cool thing. We've potetially got a job coming up that could benefit from it, but from what I've read, getting the pagination correct with correct page headers, footers and page numbers can be an issue. Any experience with that?
    Alex Walker
    SitePoint Developer
    SitePoint - Learnable

  14. #39
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not yet, but you can be sure that I'll let you know when I delve in to it!
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  15. #40
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by beetle
    I do the same thing for one of my sites. (The page framework AND content) but I don't use XSLT, I transform it using a PHP XML rendering class.

    It's very nice to describe content with pure semantics, and not be forced to use only the tags that XHTML provides.

    Example XHTML: http://www.peterbailey.net/fvalidate/nu/changelog/
    Example XML: http://www.peterbailey.net/fValidate.../changelog.xml
    When will Firebird's raw XML display work right Maybe it does already and I don't know it since I'm running a few week old nightly build. That's the 3rd XML page I looked at this week and all the tags' text overlap eachother and such in Firebird. Nothing wrong with the page, it's Firebird's rendering of it.

    All these technologies finally going mainstream is great. Long live web developers!

  16. #41
    Team SitePoint AlexW's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne
    Posts
    832
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    It rendered 98% ok on my FB. The closing square brackets were positioned marginally over their preceeding letter, and the equals signs weren't allowed enough space, but other than that it was perfectly legible.
    Alex Walker
    SitePoint Developer
    SitePoint - Learnable

  17. #42
    SitePoint Wizard bronze trophy
    Join Date
    Apr 2003
    Posts
    4,095
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use XML for the framework and content as well. I've developed a purely structural language, save for the Format tag, which is explicitly for non-structural formatting. XSLT does a quick hop to XHTML, and then CSS is used for formatting.

  18. #43
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Location
    New Orleans
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can someone recommend me an XHTML book or long guide that is easy to read but full of information? I always find the W3 site hard to read, but I really want my next site to be fully XHTML compliant. I have already done the CSS layout and positioning, but I know I am still missing some important tips.

  19. #44
    SitePoint Wizard bronze trophy
    Join Date
    Apr 2003
    Posts
    4,095
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The W3C is still the best resource, Joseph. I agree, though, it's hard to read.

  20. #45
    Forensic SEO Consultant Webnauts's Avatar
    Join Date
    Jun 2003
    Location
    European Union
    Posts
    1,488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Joseph Ellis
    Can someone recommend me an XHTML book or long guide that is easy to read but full of information? I always find the W3 site hard to read, but I really want my next site to be fully XHTML compliant. I have already done the CSS layout and positioning, but I know I am still missing some important tips.
    Something like this online tutorial?

    http://jessey.net/simon/xhtml_tutorial/

    or one of these books?

    1. Mastering XHTML Premium Edition (With CD-ROM)
    ISBN: 0782128181

    2. XHTML Black Book with CDROM (Black Book (Coriolis Group Books Paperback))
    ISBN: 1576107604

  21. #46
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Location
    New Orleans
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [QUOTE='Webnauts']Something like this online tutorial

    http://jessey.net/simon/xhtml_tutorial/

    [/QUOTE]

    Thanks, maybe once I get started the W3 won't be so difficult to comprehend.

  22. #47
    Forensic SEO Consultant Webnauts's Avatar
    Join Date
    Jun 2003
    Location
    European Union
    Posts
    1,488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [QUOTE='Joseph Ellis']
    Quote Originally Posted by Webnauts
    Something like this online tutorial

    http://jessey.net/simon/xhtml_tutorial/

    [/QUOTE]

    Thanks, maybe once I get started the W3 won't be so difficult to comprehend.
    You can be sure! XHTML is easy.

    Oh another great online tutorial! How could I miss that!!!

    http://www.w3schools.com/xhtml/default.asp

    You will love it!!!


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
  •