SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member Mitlik's Avatar
    Join Date
    Nov 2006
    Location
    North Dakota
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Language Identifier in XHTML 1.0 + MathML

    I would like to potentially have some math rendered capabilities on my website; however I run into a problem when I switch from XHTML 1.0 Strict to XHTML 1.0 + MathML. By merely adding in the MathML it now won't let me use a meta tag, nor an attribute elsewhere, to identify language, and still be considered valid markup. Anyone know a way to get both to settle in nicely?

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,044
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)

    xhtml AND mathml together

    Hi Mitlik, welcome to the forums,
    Try this DOCTYPE
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" >
    from this page that has both and is valid
    http://golem.ph.utexas.edu/~distler/blog/index.shtml

  3. #3
    SitePoint Member Mitlik's Avatar
    Join Date
    Nov 2006
    Location
    North Dakota
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fixed

    Thanks, my DTD was wrong as well, but it was actually seeing a page with it correct that helped. Fixing the DTD wasn't enough, or maybe even necessary, using the xml:lang attribute in the html tag fixed it.
    Thanks, Mittineague.


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
  •