SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Nov 15, 2006, 19:28 #1
- 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?
-
Nov 15, 2006, 21:59 #2
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 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" >
http://golem.ph.utexas.edu/~distler/blog/index.shtmlBig Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Nov 15, 2006, 22:12 #3
- 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