How to register XHTML namespaces??

Posted by John Tyler on Stack Overflow See other posts from Stack Overflow or by John Tyler
Published on 2010-06-17T06:03:17Z Indexed on 2010/06/17 6:33 UTC
Read the original article Hit count: 337

Filed under:
|
|
|
|

My page use to validate for XHTML but I added the addthis buttons to page and it gives a new namespace:

E.G.:

  <a addthis:url="http://domain.tld/path/to/stuff" addthis:title="Teh Title here">

I tried:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:addthis="http://addthis.com/" lang="en"> 

Doesn't work.

Can we register namespaces for the validator???

I AM EMOTIONALLY ATTACHED TO VALID XHTML. I like addthis, I think its the best button of its kind (yes, I need to use the namespace properties, I know you dont have to but I do for what im doing PHP project) :(

© Stack Overflow or respective owner

Related posts about php

Related posts about Xml