Re: [PHPTAL] XML Namespace and xmlns declaration removed from emitted DOM

2012-06-12 Thread Terin Stock
Hey Andrew: You could probably setup a postfilter to remove the gplusone element and add a g:plusone element in it place. (I believe I had a postfilter doing something very similar for FAR/AIM, it's probably still around.) For the pages in question, are you generating HTML pages or XHTML pages?

Re: [PHPTAL] XML Namespace and xmlns declaration removed from emitted DOM

2012-06-12 Thread Andrew Crites
Dearest Terin, You are correct that using XHTML as the output mode keeps the `xmlns` attribute and also the g: as part of the element. Problem is, I want to use an HTML output mode. However, The plus one API does allow you to load on a specified element, which obviates the need for the

Re: [PHPTAL] XML Namespace and xmlns declaration removed from emitted DOM

2012-06-12 Thread Kornel LesiƄski
On Tue, 12 Jun 2012 21:50:15 +0100, Hisateru Tanaka tanakahisat...@gmail.com wrote: In another branch I started to let PHPTAL allow using with illegal namespace. See: https://github.com/pornel/PHPTAL/compare/html5_with_ns#L4R97 Thanks for fixing empty elements and HTML5 attributes! I think