Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I was reading this blog by James Bennett regarding HTML vs XHTML . He writes :

I don’t have any need for namespaced content; I’m not displaying any complex mathematical notation here and don’t plan to, and I don’t use SVG for any images. So that’s one advantage of XHTML out the window. I also don’t have any need for XML tools; all the processing I need to do can be handled by HTML-parsing libraries like BeautifulSoup. That’s the other advantage gone.

What does he mean by namespaced content and what advantage does it provide us ?

share|improve this question
See – Yannis Oct 29 '12 at 11:33

1 Answer 1

up vote 5 down vote accepted

XML namespaces allow including XML elements defined in a schema other than that of the main document. Specifically, the article talks about MathML and SVG, which are XML-based formats that can be directly embedded in an XHTML document using namespaces, looking like this:

<html xmlns=""
  XHTML content goes here
      MathML content goes here
  more XHTML content
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.